Upgrade Linux Mint 11 (Katya) to version 12 (Lisa)


Well, Linux Mint 12 is out and it’s time to upgrade and take advantaged of the new features…

There are many ways of upgrading, as you can read here: http://community.linuxmint.com/tutorial/view/2. Please read it carefully before proceeding with the upgrade. You can turn your current installation useless.

Both are valid, but not without possible problems.

I have Linux Mint 11 transformed in a Media Center, running XBMC and connected to my Video Projector! And now, i’m ready to upgrade, using the “C2 – Packages Upgrades”.

NOTE: After altering the sources.list and start the upgrade, there’s no turning back.

Warning: I’ve tried and it didn’t work for me… I had errors about apparmor and udev… Had to install all over again… But this method is supported and i’ve tried twice (from Mint 9 to 10 and from 10 to 11) and always had worked.

 

Warning: It didn’t work for me. It didn’t work for me.It didn’t work for me. It didn’t work for me. It didn’t work for me. It didn’t work for me. It didn’t work for me.

 

This means that, i’m going to edit the file sources.list of apt, and change the sources.

First, let’s upgrade Linux Mint 11 -

apt-get update

apt-get dist-upgrade

After Linux Mint 11 updates itself, let’s go to update the sources.list. First, copy the file, so we can have a backup (just in case, but after you start to upgrade, there’s no turning back…)

So, i’ll transform the following lines:

 

deb http://packages.linuxmint.com/ katya main upstream import backport

deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse

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

deb http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse

deb http://archive.canonical.com/ubuntu/ natty partner

deb http://extras.ubuntu.com/ubuntu natty main

deb http://packages.medibuntu.org/ natty free non-free

into:

 

deb http://packages.linuxmint.com/ lisa main upstream import backport

deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse

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

deb http://security.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse

deb http://archive.canonical.com/ubuntu/ oneiric partner

deb http://extras.ubuntu.com/ubuntu oneiric main

deb http://packages.medibuntu.org/ oneiric free non-free

Basically, just alter katya to lisa and natty to oneiric

After you change the sources, let’s update the packages:

apt-get update

apt-get dist-upgrade

(....)

 

1133 upgraded, 373 newly installed, 23 to remove and 0 not upgraded.

Need to get 786 MB of archives.

After this operation, 987 MB of additional disk space will be used.

Do you want to continue [Y/n]?

Just press <enter> and let the “games” begin…

Good Luck

EDIT: Even if you get some errors when apt is upgrading, and the errors does not seam to be critical, ignore them and reboot the machine. After rebooting, just run apt-get upgrade and apt-get dist-upgrade so apt can update any package and configure again the “broken” configurations… I’m not saying the upgrade will work, but i’m finished and everything seems working.

2 thoughts on “Upgrade Linux Mint 11 (Katya) to version 12 (Lisa)

  1. in the apt folder, i have two administrative files..sources.list and sources.list.save.. the above lines you mentioned is there in my sources.list.save . i edited them but no effect was seen. when i did apt-get update..it still downloaded natty packages.. when i click over sources.list it still shows natty packages..how to update now?

  2. The sources.list.save is created when you upgrade apt. The file used by apt to check the repositories is sources.list

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s