How to Upgrade Linux Mint 16 (Petra) to Linux Mint 17 (Qiana)
Linux Mint is an Ubuntu based distribution and one of the most loved and used Linux distribution these days. It provides a complete new experience for users which includes browser plugins, media codecs, support for DVD playback, Java and other desktop components being most of it desktop oriented.
On May 31st 2014 official Linux Mint developers announced on their blog, that the final version of Linux Mint 17, codename Qiana with both versions available for download, Cinnamon and Mate desktop, with an official support until 2019 – same as its mother distribution Ubuntu 14.04.
Some of this release features are:
- A new Update Manager improved version.
- Driver Manager can now install drivers without an Internet connection
- MDM 1.6 Login Screen with HiDPI support and recovery mode.
- A new Language Settings tool.
- An improved Software Sources configuration tool.
- A light redesigned Welcome Screen.
- Cinnamon 2.2 with better looking settings.
- System improvements.
- A new collection of backgrounds.
- Linux Kernel 3.13.
- Linux Mint future versions releases with the same package base until 2016.
- EFI and Bluetooth support.
- PAE Kernel for x32bit versions.
- No support for Nvidia Optimus graphics chipsets yet (minimal support is ensured by nvidia-prime package).
This tutorial will focus on how to upgrade your current version of Linux Mint 16 Petra to new released version of Linux Mint 17 Qiana.
Download Linux Mint 17 Images
For a clean installation without an upgrade process and other useful information download DVD ISO images using the following links.
- For Linux Mint 17 “Qiana” Cinnamon 32-bit and 64-bit – http://blog.linuxmint.com/?p=2626.
- For Linux Mint 17 “Qiana” Mate 32-bit and 64-bit – http://blog.linuxmint.com/?p=2627.
Warning : Before you attempt to start the upgrade process make sure that you made a backup of your important data in case something goes wrong and the system breaks.
Upgrading Linux Mint 16 (Petra) to Linux Mint 17 (Qiana)
1. Before you start, you can check your Linux Mint version by opening a Terminal and run the following commands.
$ sudo cat /etc/issue $ sudo cat /etc/issue.net $ sudo cat /etc/lsb-release $ sudo cat /etc/os-release
2. On the second step make sure you create a backup copy of your system 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
3. Now it’s time to start editing Linux Mint software list for ‘apt-get‘ to start and pull software packages from new repositories locations by opening and editing ‘/etc/apt/sources.list.d/official-package-repositories.list‘ file and replace “petra” with “qiana” and “saucy” with “trusty” on all lines.
Also if you have Source and Getdeb Repositories enabled make sure that the names are changed on ‘/etc/apt/sources.list.d/official-source-repositories.list‘ and ‘/etc/apt/sources.list.d/getdeb.list‘ too.
4. Another way of editing those file is by using sed command in terminal.
$ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list $ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list $ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list.d/official-package-repositories.list $ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list.d/official-package-repositories.list ## For Package Sources only if they are enabled ## $ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list.d/official-source-repositories.list $ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list.d/official-source-repositories.list ## For Getdeb Sources only if they are enabled ## $ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list.d/getdeb.list $ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list.d/getdeb.list
NOTE: If you have other Repositories or PPA enabled on you system visit their official page and make sure they provide packages for Ubuntu 14.04 or Linux Mint 17, else edit or remove them now from your system.
5. After editing Repositories list files using one of the above methods start the upgrade process by running a series of commands.
$ sudo apt-get update $ sudo apt-get dist-upgrade $ sudo apt-get upgrade
Depending on your system resources and Internet speed the upgrade process can take a while and the update manager will ask you a series of questions regarding configuration files and services restart. Answer ‘Yes‘ on all questions and select ‘Install‘ the package maintainer’s version on all configuration files.
6. After the Upgrade process finishes reboot your system and you will have the new version of Linux Mint installed on your box.
7. To verify it, open a terminal and run the commands from the beginning of this tutorial.
$ sudo cat /etc/issue $ sudo cat /etc/issue.net $ sudo cat /etc/lsb_release $ sudo cat /etc/os-release
8. You can also run Linux Mint System Settings and open Software Sources and System Info to confirm your latest version.
According to Distrowatch website Linux Mint is the most downloaded Linux distribution from 2011 so far with more than 3700 hits on last six months, thanks to its multiple Desktop Managers (Cinnamon, MATE – Gnome2 fork, KDE and LDME version), to the fact that it focuses on Desktop platforms, outrunning by far its distro sources like Ubuntu and Debian.