Upgrade Linux Mint 12 Lisa to Linux Mint 14 Nadia

# sudo -i
# apt-get update
# apt-get dist-upgrade

The above would normally do an upgrade for Ubuntu Linux but Mint will just do a regular

# apt-get upgrade

So what needs to be done is modify the source lists to point to nadia instead of lisa and quantal (ubuntu 12.10) instead of oneiric (ubuntu 11.10) where applicable. So I did:

# cd /etc
# tar zcf apt.lisa.tar.gz apt #take a backup before messing :)
# find apt/ | xargs -n 1 sed -i -e 's|lisa|nadia|g'
# find apt/ | xargs -n 1 sed -i -e 's|oneiric|quantal|g'
# apt-get update
# apt-get dist-upgrade

Lets see what happens 🙂
First attempt I got dependency errors and the upgrade broke.
I decided to use force (never the best option usually but what the heck)… several times…

# apt-get -f dist-upgrade

Ok still some packages like mint-search-addon gir1 and nux resisted the force 😀

# dpkg --remove gir1
# dpkg --install --force-all <full path of gir1 install deb>

Worked sort of but for the other I had to go

# apt-get remove --purge mint-search-addon

And after all this effort and a reboot, I’m still facing Lisa, Nadia not there, as the prompt and kernel version hints me…

To be continued…

2 thoughts on “Upgrade Linux Mint 12 Lisa to Linux Mint 14 Nadia

  1. You shouldn’t jump between versions like that! Upgrading to Mint 13 first, then from 13 to 14 is a better idea and less likely to break.

    • Well it was (and still is) my XBMC mini-ITX box and therefore I couldn’t resist to go for something like this. In the old days where kernel, driver, library and user interface changes were more predictable this was trivial (SuSE Linux used to be very good at this back before the Novell days).
      Nowadays this kind of stuff is for the borderline bold 🙂
      I didn’t mind giving it a shot but on production servers I would go step by step or even do a fresh install after taking extensive backups.

      Cheers,
      Deniz

Leave a Reply

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

*