Wednesday, November 21, 2012

Upgrading from Linux Mint 13 to Linux Mint 14

Original source:

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
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 maya main upstream import
deb precise main restricted universe multiverse
deb precise-updates main restricted universe multiverse
deb precise-security main restricted universe multiverse
deb precise partner
deb precise free non-free
#deb precise-getdeb apps
#deb precise-getdeb games
deb nadia main upstream import
deb quantal main restricted universe multiverse
deb quantal-updates main restricted universe multiverse
deb quantal-security main restricted universe multiverse
deb quantal partner
deb quantal free non-free
#deb quantal-getdeb apps
#deb quantal-getdeb games

No comments:

Post a Comment

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