[HowTo] Uprade Linux Mint to next release

In this small post, I just will explain how to upgrade a Linux Mint to the next release using a manually method. In this article, I have a Linux Mint 16 and I want to upgrade to 17. Following theses steps:

Backuping

Before starting this procedure, please save all your important data. When it’s ok, make a copy of these 2 files:

[email protected] ~ $ sudo -s
[sudo] password for heartbleed: 
heartbleed ~ # cd /etc/apt/
heartbleed apt # cp sources.list ./sources.list.bkp
heartbleed apt # cp sources.list.d/official-package-repositories.list ./sources.list.d/official-package-repositories.list.bkp
 Modify APT sources files

Now you are ready to modify the APT sources files 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. The content of my file look like this :

deb http://packages.linuxmint.com qiana main upstream import  #id:linuxmint_main
deb http://extra.linuxmint.com qiana main #id:linuxmint_extra

deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
Upgrade your system

Just applying this command and be patient 🙂

heartbleed ~ # apt-get update
heartbleed ~ # apt-get dist-upgrade
heartbleed ~ # apt-get upgrade
heartbleed ~ # reboot
Bookmark the permalink.

Leave a Reply

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

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