How To Upgrade From Linux Mint 13 (Maya) To 14 (Nadia) With apt

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Wed, 2012-11-28 18:38. :: Ubuntu | Desktop

How To Upgrade From Linux Mint 13 (Maya) To 14 (Nadia) With apt

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 11/27/2012

This tutorial shows how you can upgrade from Linux Mint 13 (Maya) to Linux Mint 14 (Nadia) with apt. Please note that this is not the recommended way, and it might break your system, however, for me it worked fine.

I do not issue any guarantee that this will work for you!

 

1 Preliminary Note

As mentioned before, this is not the recommended way of upgrading and might break your system, so make sure you have backups and can revert to your previous system if things go wrong (for example, if you use btrfs, you can use apt-btrfs-snapshot to create a snapshot and roll back to the working version if things go wrong).

The recommended way of doing an upgrade is described here: http://community.linuxmint.com/tutorial/view/2

 

2 Doing The Upgrade

Open a terminal (Accessories > Terminal)...

... and open /etc/apt/sources.list:

sudo gedit /etc/apt/sources.list

This is how the file looks for Linux Mint 13:

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

Now replace maya with nadia and all occurrences of precise with quantal - this is how the modified file must look:

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

Then update the packages database...

sudo apt-get update

... and do the distribution upgrade:

sudo apt-get dist-upgrade

There will be configuration files that have changed between the distributions, and apt will ask you if you want to keep the old file or go with the new one. I always type in Y to accept the new file. This is no problem as the old configuration file will be saved in the same directory with the appendix .dpkg-old, so if your customizations get overwritten, you can port them back to the new file.

Afterwards make sure all packages are up-to-date...

sudo apt-get upgrade

... and then reboot:

sudo reboot

That's it! Now when the system boots again, click on the Session icon on the login screen...

... and select your preferred desktop environment (one of the Cinnamon or GNOME options) - just make sure you don't select Last session or Run Xclient script because this will give you a black screen after login, while the Cinnamon and GNOME options work fine:

You can now select to make your selection the default desktop or to use it just for this session (in the latter case, you'd have to make the desktop selection again when you reboot the system):

Although the wallpaper still displays Maya, the welcome screen shows that it's Linux Mint 14 (Nadia). You can verify this by opening a terminal and displaying the contents of /etc/issue:

cat /etc/issue

 

3 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Ed (not registered) on Wed, 2013-05-22 16:37.

I just successfully installed Maya on my D600 from CD, installed fake-pae, then upgraded to Nadia as instructed above.  The weird thing was that it took over 12 hours not counting stops for config-file replacement prompts.  It also installed a slew of new packages.

 I'm not going to attempt Olivia until it's officially released.

Thanks for figuring this all out.

Submitted by Edward_FFS (not registered) on Tue, 2013-04-16 21:14.

HI, 

 I followed the steps above, but I'm getting a black screen either I choose Cinnamon or Gnome session, I didn't want to reinstall Mint all over again :/

Any suggestions?

Submitted by Shezho (not registered) on Fri, 2013-03-29 15:53.
Thank you. I'm updating it right now! I hope it goes well. :-)
Submitted by Alastair Munro (not registered) on Sun, 2013-03-10 23:26.

This is the easiest upgrade I have ever done. Only downside was waiting for the packages to download. When logging in, two very minor issues: touchpad didn't select and some icons on the top bar moved around. Other than that perfect upgrade.

 Upside of the upgrade is this version of Linux is noticably faster than Mint 13 and I am now running a 3.5 kernel! Awesome! 

Submitted by Anonymous (not registered) on Sun, 2013-03-10 01:42.
When I installed Mint 13 from the .iso, I did a limited install. (Don't need python, and a million libraries, etc.) When I do the update as here, I notice that apt-get seems to get everything. I'm not smart enough to know if it's going to install all the bloat. If it's indiscriminate, is there a way to make it discriminate?
Submitted by yzw (not registered) on Thu, 2012-12-06 03:25.
plz help, after upgrading to nadia why i can't connect to internet.. in the network manager it say establish connection (LAN connection). thanx..
Submitted by eMcE (not registered) on Tue, 2013-01-15 22:59.

Go to terminal and:

dns-fix

or

sudo dpkg-reconfigure resolvconf

or create file: resolv.conf with something like this:
nameserver 8.8.8.8
nameserver 192.168.1.1

save, reboot and done :)

Submitted by Anonymous (not registered) on Sun, 2012-12-16 19:01.
I had the same problem. I managed to solve it as below:

 Go to Network (Click on Administration/Network. Unlock by clicking on 'Click to make changes', using your admin password.

 Click on wired connection, properties.

Uncheck roaming mode, set configuration to Automatic (DHCP).

Reboot. 

 This worked for me.

 

Submitted by Anonymous (not registered) on Fri, 2012-12-14 12:21.
This fixes the internet issues,just run the reconfig.http://askubuntu.com/questions/225129/ubuntu-12-04-no-internet-connection
Submitted by Spook74 (not registered) on Wed, 2012-12-05 16:17.
   I got through the

sudo apt-get dist-upgrade

step and went to reboot, and got a black screen.  Make sure you have backed up your data!

I'm going to download Mint and reinstall that way to see if I can recover anything.  (Most of my data is on a separate partition, but the stuff on my Desktop will be missed!)

Spook

Submitted by Anonymous (not registered) on Sun, 2012-12-02 13:15.

 Replace:

sudo gedit /etc/apt/sources.list

with:

sudo pluma /etc/apt/sources.list

Submitted by Anonymous (not registered) on Sun, 2013-03-10 01:25.
And then save the new file? (Remember, you're writing for newbies.
Submitted by Spook74 (not registered) on Wed, 2012-12-05 16:11.
(Pluma replaced gedit in Mint.  If you still have gedit, it will update the file fine.)
Submitted by Mark (not registered) on Sat, 2012-12-01 15:54.

It sounds simple like this and I decided (before reading about it here) to give it a go.

First off, since it might seriously break your system, it is wise to make a back-up of your data (all your data, your home directory and more). Any serious system-upgrade should start with that advice: Backup now!

Second: disable all PPA's you may be using. They will need to be upgraded as well, but that's for later. I suggest you install Y PPA manager to use it to update the release name (precise -> quantal), unless you want to do it by hand

Then, as from my experience, it takes a couple more sudo apt-get update; sudo apt-get upgrade commands to complete the system upgrade. There will be errors, held-back packages etc. But it can and will be done in the end.

Now, update the repositories (PPA's) and see which ones are available for your new release. The ones  the Y PPA doesn't update may (or may not) be up to date.

Finish the upgrade process by re-enabling the PPA's and update again.

Good luck!

Submitted by Anonymous (not registered) on Sat, 2012-12-01 14:43.
A lot of users of Maya installed it because they want extended support precisely without updating the OS every few months, either as described here or by completely fresh install.  I read good things about the Cinnamon upgrade to v1.6 in Mint 14 - that may be the main or only reason to be interested in it - but don't find Cinnamon 1.6 in the Mint 13 repositories.  I'd suggest that when Mint thinks a desktop environment or software package is good enough for release in a new version that it should update the repositories for its active LTS versions a.s.a.p.  That's what I would call "long term support" in practice not theory.
Submitted by Anonymous (not registered) on Tue, 2012-12-18 00:56.
Cinnamon 1.6 is now in the backport repository of Maya, and before that in the romeo (unstable) repo. So no one needs to upgrade just for Cinnamon.
Submitted by geospart (not registered) on Sat, 2012-12-01 07:27.
I ran this update on my Asus 904HA Netbook (hackbox) which had LM13 Maya / Mate. It's old but loves Mint, The update took about an hour and a half. There where a few instances where the update paused and wanted me to authorize the update of a few files. I used Hardinfo to verify that the system showed LM14 Nadia.

Specs:

N270 Atom 1.60 GHz
2 GB of Ram (came with 1GB) - Maxed unfortunately
250 GB Samsung HD (came with 120GB)
and one nifty aftermarket hand stand extended life battery (nice to hold the netbook when wardriving)

- Note: I strayed from the instructions a tad I did an alt+f2 gksu pluma instead of gedit to edit the  /etc/apt/sources.list file. ?

Posted here: https://plus.google.com/u/0/107899136794765613166/posts/Um78H1AfRuX

http://techandcoffee.info