Wednesday, November 21, 2012

Upgrading from Linux Mint 13 to Linux Mint 14


Original source: http://www.scottalanmiller.com/linux/2012/11/21/upgrading-from-linux-mint-13-to-linux-mint-14/


The Linux Mint team recommends upgrading versions using a LiveCD and doing a fresh install.  This method has its benefits but, for many users and environments, using the package repository online method is far superior.  First we need to make sure that we are running as root to make the process simple:
sudo -i su
Using the following command you will have your system package configuration files automatically modified for the update (I have included the old and new versions at the end of this tutorial for reference; there is no need to modify them by hand.)
sed -i 's/maya/nadia/g' /etc/apt/sources.list
sed -i 's/precise/quantal/g' /etc/apt/sources.list
Once we have changed the sources.list file, we are ready to do the update.  As always be sure that everything that you want to keep is backed up!  Upgrades are never completely safe.  Protect yourself. Once you are ready:
apt-get update; apt-get dist-upgrade
apt-get upgrade
reboot
Once your system reboots you should have a fully functional Linux Mint 14 installation.  On mine I found only one issue and that was that, for some reason, DNS was not updating correctly so I had to manually enter the DNS servers into the network configuration dialogue.  After doing that, everything worked properly.
As promised, here are the before and after /etc/apt/sources.list files.
deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free
#deb http://archive.getdeb.net/ubuntu precise-getdeb apps
#deb http://archive.getdeb.net/ubuntu precise-getdeb games
deb http://packages.linuxmint.com/ nadia main upstream import
deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ quantal partner
deb http://packages.medibuntu.org/ quantal free non-free
#deb http://archive.getdeb.net/ubuntu quantal-getdeb apps
#deb http://archive.getdeb.net/ubuntu quantal-getdeb games

2 comments:

I would be glad to know if this post helped you.