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 read this far, tweet to the author to show them you care. Tweet a thanks
Ravi Saive
I am an experienced GNU/Linux expert and a full-stack software developer with over a decade in the field of Linux and Open Source technologies

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

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

  1. sir i am trying to upgrade linux mint 15 but i am getting like this
    E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    sreenatha@bhoomi ~ $ sudo apt-get upgrade
    E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    sreenatha@bhoomi ~ $

    Reply
    • @Sreenatha,
      Use the following command to remove that lock file and then give a try..its should work.

      # sudo rm -rf /var/lib/dpkg/lock
      
      Reply
  2. Hi ,
    I have upgraded from mint 15 but get a black screen on boot up can’t bypass go to type in crpt key and goes black. Can see log panel barely. Any idea? Thanks

    Reply

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.