Upgrade Linux Mint 15 (Olivia) to Linux Mint 16 (Petra)

On November 30th 2013, the Linux Mint team proudly announced the release of Linux Mint 16 PetraMATE. This release is the result of 6 months of incremental buildup on top of fast and decent technologies. This new release brings new updated software, new features and refinements to make your desktop look even more appropriate to use.

This guides shows you how to upgrade from Linux Mint 15Olivia” to Linux Mint 16Petra”. A new version of Linux Mint is released every 6 months with new features and improvements but it doesn’t wrong staying with the release you already have. In fact, you can ditch many released and bond with the version that works better for you.

Each Linux Mint release comes with bug fixes and new security updates for about 18 months. If these bug fixes and security updates are crucial to you, then you should keep upgrading your system to latest released, otherwise as I said above there isn’t wrong with keeping things as they are.

Before upgrading, the most critical things is to take backup of your personal data. During upgrade if something goes wrong and your system broke up. At least your personal data will be safe and OS can be reinstalled.

Make sure that the release you planning to upgrading is stable with your current hardware. Every release comes with different Kernel version and make sure your hardware recognized by the latest version of Linux Mint.

That’s the reason Linux Mint comes with LiveCD, you can try the latest release on your system and see if everything works fine. So, you can move further to upgrade.

There are many various ways of upgrading to latest release, but here we show you package upgrades using apt-get method and other method is a fresh upgrades.

The APT method is only recommended to advanced users who are familiar with apt-get command and it is the default package management system used by Linux Mint.

How to Upgrade Linux Mint 15 to Linux Mint 16

Run the following commands to replace “raring” with “saucy” and “olivia” with “petra”. These two words denotes the OS distributions names for the Ubuntu package base used by Linux Mint 15.

$ sudo sed -i 's/raring/saucy/' /etc/apt/sources.list
$ sudo sed -i 's/olivia/petra/' /etc/apt/sources.list
$ sudo sed -i 's/raring/saucy/' /etc/apt/sources.list.d/official-package-repositories.list
$ sudo sed -i 's/olivia/petra/' /etc/apt/sources.list.d/official-package-repositories.list

Next, run the following commands to fully update the system.

$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo apt-get upgrade

During upgrade process, the apt manager will ask you keep new configuration files, simple type “Y” to accept the new files. The old files and new files remain in same directory, but with the appendix “.dpkg-old“, so if you’re not happy with new configuration you can restore your old configuration any time. This may takes several minutes depending on your system hardware and internet speed.

Reboot the system once packages are updated successfully. That’s it.

Upgrade to Linux Mint 16
Linux Mint 16 Desktop

Reference Links

  1. Linux Mint Homepage
If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

73 thoughts on “Upgrade Linux Mint 15 (Olivia) to Linux Mint 16 (Petra)”

  1. Did this with all four sed commands. I’m assuming that the OS upgraded, but, it didn’t do grub well (needed to rescue with rescatux) and it won’t let me log in on the login page (Steampunk)

    Can’t start the PC now, as it remains black with mouse pointer and naught else.

  2. 48 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
    E: Could not get lock /var/cache/apt/archives/lock – open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/cache/apt/archives/

    This is the error message I am getting, while upgrading from mint 15 Olivia. Any suggestions on how to rectify and upgrade to the latest version.

    • Delete these two lock file with the following commands:

      # sudo rm /var/lib/apt/lists/lock
      # sudo rm /var/cache/apt/archives/lock

      After that, try running command again..

  3. Changed the wallpaper to Linux Mint 16…no problem, OK!

    I’m just the happy user no expert, really need expert help, simply don’t know how to get rid of those duplicated icons buttons when the Preference Button, these duplicated icons are bluetooth, color (square and star), displays, networks, power, region & settings, startup applications, sound & universal access.

    Appreciate any help please, TQ

  4. Followed thro’ the upgrade cmds, however at reboot, it says Linux Mint 16…..ok. When system up, the wallpaper still displays Linux Mint 15! which is incorrect. The system upgraded to Linux Mint 16

    What did i do wrong? Any help please!

  5. Does not work for me .This is cat /etc/*-release output after upgrade

    DISTRIB_DESCRIPTION=”Linux Mint 15 Olivia”
    VERSION=”13.04, Raring Ringtail”
    PRETTY_NAME=”Ubuntu 13.04″

    • Sorry for trouble actually I missed two more commands to add in the article. Now I’ve updated the article, can you try again to upgrade.

  6. Actually the commands for the upgrade are:
    sudo sed -i ‘s/raring/saucy/’ /etc/apt/sources.list.d/official-package-repositories.list
    sudo sed -i ‘s/olivia/petra/’ /etc/apt/sources.list.d/official-package-repositories.list
    sudo apt-get update && sudo apt-get dist-upgrade
    sudo apt-get upgrade

    My upgrade is in progress right now.

  7. In my machine, I had to update 2 more files to upgrade properly
    Here are the commands

    sudo sed -i ‘s/raring/saucy/’ /etc/apt/sources.list.d/official-package-repositories.list
    sudo sed -i ‘s/olivia/petra/’ /etc/apt/sources.list.d/official-package-repositories.list

  8. $ sudo sed -i ‘s/raring/saucy/’ /etc/apt/sources.list

    Don’t works with this command

    Try this ->

    $ sudo sed -i ‘s/raring/saucy/’ /etc/apt/sources.list.d/official-package-repositories.list
    $ sudo sed -i ‘s/olivia/petra/’ /etc/apt/sources.list.d/official-package-repositories.list

    • I’ve followed the instructions above to upgrade from mint 14 to mint 17, and apparently everything is working; EXCEPT I no longer have sudo/administrator privileges (no else does either). This is sort of important, and worrying. Oh and my keyboard is US English only and I need it to be UK English

      • I am thinking about going from 15 to 17.
        Did you get past the missing “sudo/administrator” privileges?
        Also were there any additions to the sources.list


Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.