How To Upgrade From Linux Mint 16 Petra To Linux Mint 17 Qiana

Hello Linux Geeksters. As you may know, Linux Mint 17 Qiana has been released a few days ago, in the traditional flavors: Cinnamon and Mate. For more information, see this article.

How To Upgrade From Linux Mint 16 Petra To Linux Mint 17 Qiana

How To Upgrade From Linux Mint 16 Petra To Linux Mint 17 Qiana

In this article I will show you how to update / upgrade Linux Mint 16 Petra Linux to Mint 17 Qiana, by changing the repositories and fully updating system with apt.

Follow the below instructions exactly, in order to get a successful installation.

Backup the repository sources:

$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
$ sudo cp /etc/apt/sources.list.d/official-package-repositories.list /etc/apt/sources.list.d/official-package-repositories.list.bak
$ sudo cp /etc/apt/sources.list.d/official-source-repositories.list /etc/apt/sources.list.d/official-source-repositories.list.bak

Now that we have backed up the repository sources, we have to replace “saucy” with “trusty” and “petra” with “qiana“, in /etc/apt/sources.list:

$ sudo sed 's/saucy/trusty/' /etc/apt/sources.list
$ sudo sed 's/petra/qiana/' /etc/apt/sources.list

In /etc/apt/sources.list.d/official-package-repositories.list:

$ sudo sed 's/saucy/trusty/' /etc/apt/sources.list.d/official-package-repositories.list
$ sudo sed 's/petra/qiana/' /etc/apt/sources.list.d/official-package-repositories.list

And in /etc/apt/sources.list.d/official-source-repositories.list:

$ sudo sed 's/saucy/trusty/' /etc/apt/sources.list.d/official-source-repositories.list
$ sudo sed 's/petra/qiana/' /etc/apt/sources.list.d/official-source-repositories.list

If anything goes wrong in the with the sed oneliners, you can always restore the backed up sources and repeat the process.

Next, you have to fully update the system:

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

After this happens, your apt manager will ask you if you want to new configuration files, or you prefer to keep the old ones. I usually type Y, to accept the new files. The old ones will be in stored in the same directory as the new ones, but with the appendix .dpkg-old, so if you are not pleased with the new settings, you can restore your old ones.

Depending on your internet connection, the upgrade process may take a while. After the process has been finished successfully, reboot the system:

$ sudo reboot

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *


Support LinuxG via Patreon
Support on Patreon!


Subscribe to get the latest Linux news and how to guides directly on your e-mail!