How to Update / Upgrade from Linux Mint 14 Nadia to Linux Mint 15 Olivia

Hello Linux Users.

In this article I will show you how to upgrade / update your Linux Mint 14 Nadia to Linux Mint 15 Olivia, by changing the repositories and fully updating system with apt.

Use these two oneliners to replace all “quantal” with “raring” and “nadia” with “olivia”, in order to get the needed repos.

$ sudo sed -i 's/quantal/raring/' /etc/apt/sources.list
$ sudo sed -i 's/nadia/olivia/' /etc/apt/sources.list

Fully update the system:

$ sudo apt-get update && sudo apt-get dist-upgrade

After this happens, your apt manager will ask you if you want to new configuration files, or you prefer to keep the old ones. I usually type Y, to accept the new files. The old ones will be in stored in the same directory as the new ones, but with the appendix .dpkg-old, so if you are not pleased with the new settings, you can restore your old ones.

Upgrade:

$ sudo apt-get upgrade

Reboot:

$ sudo shutdown -r now

This is it. Enjoy.

Share and Enjoy

  • Twitter
  • Facebook
  • Google Plus
  • Email
  • RSS
Tagged with: , , , , ,
Posted in The Linux and Unix Articles!
55 comments on “How to Update / Upgrade from Linux Mint 14 Nadia to Linux Mint 15 Olivia
  1. Ray Lillard says:

    Didn’t work for me. I loaded fresh Nadia, did the updates and followed above instructions. Can’t login as user.

    Also this: sudo apt-get update && apt-get dist-upgrade
    should be: sudo apt-get update && sudo apt-get dist-upgrade
    or: sudo ( apt-get update && apt-get dist-upgrade )

  2. Ray Lillard says:

    My .xsessuin-errors contains after login failure:

    /etc/mdm/Xsession: Beginning session setup…
    localuser:xyz being added to access control list
    Setting IM through im-switch for locale=en_US.
    Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
    Failed to connect to the VirtualBox kernel service

    Is this install salvageable? or should I just wait for the real thing.

  3. Mike says:

    Worked perfectly for me! Thank you very much!!!

  4. twii says:

    You murdered my clock!! Outside of that it works.

  5. De.Bol says:

    Works like a charm!

  6. Bert Vermeulen says:

    While doing the above something went wrong. I don’t know what as the screen froze. After leaving it for a number of hours it was still frozen so I had to reset the netbook to start it. Now it only comes back with a terminal window and the loggon prompt. If I give the command $ sudo shutdown -r now it tells me “dpkg was interrupted, you must manually run “sudo dpkg –configure -a to correct the problem” If I run that command it comes back with > but what do I do after that?

  7. Bert says:

    Just an update on the previous comment where the netbook froze. The problem was solved by rebooting into maintenance mode and selecting repair broken packages, after running this, the unit booted up into the latest version, and all works well so far.

  8. Thanks. I will try this. While I understand why Mint Upgrades work best with a fresh intall, playing around with the partitions on a multiboot system is a lot of work.

    And also, backup files before starting on this.

  9. Ray says:

    I’d like to suggest 3 edits to the second paragraph, which currently reads:

    “Use this two oneliners to replace all ‘precise’ with ‘quantal’ and ‘maya’ with ‘nadia’, in order to get the needed repos.”

    I would revise it, if all agree, as follows:

    “Use these two oneliners to replace all ‘quantal’ with ‘raring’ and ‘nadia’ with ‘olivia,’ in order to get the needed repos.”

    Which is to say (1) “this”–>”these”; (2) version names matching those in the oneliners; and (3) commas inside quotemarks (this last mostly because I’m an editor and can’t help myself :) ).

    • Geekster says:

      thanks RAY. i have corrected the mistakes.

    • Anderson says:

      Personally, I always put the commas outside the quotes when the words aren’t part of the containing sentence’s structure. In a technical case like this, I think it’s even more important that the commas appear outside, lest someone put literal commas inside their ‘sources.list’.

  10. All of my sources were in /etc/apt/sources.list.d/…

    I had to issue the following commands to update the sources, after `cd`ing to the above directory:

    $ for f in `ls -1 *.list`; do sudo sed -i ‘s/quantal/raring/’ $f; done;

    $ for f in `ls -1 *.list`; do sudo sed -i ‘s/nadia/olivia/’ $f; done;

    • Karthik T says:

      Thanks for this, I had to do this as well.

      For others who might stumble upon this and then get the below error

      sed: -e expression #1, char 1: unknown command: `

      you need to retype the ‘ ‘ around the sed expression

  11. dorfdepp says:

    Perfect!! Works very fine and fast. Download needś with 100 Mbits round about 3 mins., Update need approximately 8 mins with a i5 Core with 4 CPUś. Thanks a lot for the perfect instruction. Iḿ a nerd because i work with Linux since 3 days. Sorry for my bad english, I am from Germany.

  12. Metallinatus says:

    Thanks, everything seems to be working fine, the only thing I noticed is that no sound was played after the boot and after the login…. the sounds were removed or this is a bug from using this upgrade method?

  13. Danilo says:

    Works perfectly! Thanks a lot!

  14. Dan Caseley says:

    Worked for me. Found the downloads a tad slow from the linuxmint repos – maybe they’re under a tad of load right now? :)

    Word of warning: Switch off your power saving options before you begin. My screen went to sleep during the updates and couldn’t present the login screen again (presumably a dependency from auth -> login screen -> new mdm or somesuch) and whilst I could watch the dpkg processes spawning and closing from tty1, the very next time I was prompted whether to accept the package maintainers config file, I was hosed since I couldn’t connect to that session to answer the question. A “sudo reboot”, followed by “sudo dpkg –configure -a” saved me, but it was a bum-squeaky few minutes.

    I’d dd’d off the root partition before I began, so I had a safety net, and I’d advise everyone else to make sure that they’ve got some sort of backup to return to before they embark on the “advanced” route of upgrading.

  15. Antonio Carlos says:

    Works perfectly! Good job!

  16. zbit says:

    Ray Lillard: I changed my WM through login screen (XFce) and everything works fine…

  17. Nic Deane says:

    Thank you so much for this tutorial! All my settings, e-mails, etc, and especially my HPLIP connections were carried over so I haven’t had to update and run HPLIP again as I have always had to do with a usual install. Brilliant!

  18. Matthias R. Koch says:

    Upgrades 3 PC’s and 1 Laptop during an afternoon – all went smoothly !!

    Thank you for a simple and effective way to Upgrade !!

  19. Remes Lenicov says:

    Went perfectly well
    Thank you !

    Sent from Linux Mint Olivia

  20. Herbie says:

    This upgrade worked perfectly. No errors. Thanks for the information. Great job.

    This is what makes the Linux Community so great, people always willing to help.

  21. Matt says:

    Followed the procedure and now I can’t get past the login screen. I enter my name, then password, then blank screen. Thankfully I have everything backed-up, so I’ll wipe and do a fresh 15 install. I know most people have commented that everything went smoothly but not for me.

    • pen says:

      That’s why I have a separate /home partition… Though it requires a little bit of fiddling after the installation, but safer this way.

    • Dan Caseley says:

      I’ve noticed a similar peculiarity with my upgrade – after the login, I see about 20s of black before anything happens. Have you tried a different session type? Mint 15 offers me 6 or 7 different desktop managers at logon.

      • Horace says:

        I have the same thing, and had something similar in LM 14. The difference for me was in 14 the machine was very sluggish for about 15 seconds after showing the desktop, then all was well. Seems like 15 stays blank until everything is loaded, then gives control over to me. No sluggishness now, but I have to wait the extra time. Six of one, half dozen of the other.

        • Geekster says:

          @horace: it upgrades to linux mint 15! the slow boot process is because of the kernel 3.8.*.

          • Horace says:

            Holy cow, you’re right about the Kernel. Updated to 3.9.4 and boot time is cut roughly in half. Thank you!

            Still a little put off by the mention of Ubuntu everywhere, though. I installed LM 15 in VirtualBox and I’m finding a few differences. In the in-place upgrade I have two ‘System Settings’ for example, and under ‘System Info’ the distribution is ‘Ubuntu 13.04.’ They seem to work the same, but it’s a little worrisome. Anyone else seeing this?

  22. pen says:

    Goody, seems to work. Thanks!

  23. Piet Ceanadach says:

    If I do this upgrade from 14 to 15, will I lose all the customisation that I have done, and will I lose my VM with WinXP?

    Slante, Piet.

  24. bobbysamd says:

    It worked pretty well for me. For some reason my machine stopped during the upgrade/update process. I restarted my machine, booted into Linux Mint and got to a command line. I recall running “sudo apt-get dist-upgrade” which completed the process.

    The process took a little more than an hour – not much different than upgrading other Ubuntu distros via update manager.

    Thanks a lot! :)

  25. Piet Ceanadach says:

    Well! I went ahead and took a chance and it looks like it worked flawlessly … Saved me a lot of time :)

  26. Horace says:

    I ran this exactly and it seemed to work flawlessly. Took a long time, but it finished, rebooted, and it appears to have worked. However, nearly everywhere it states that the release is Ubuntu 13.04, NOT linux Mint 15. I have Ubuntu logos places, etc. Bootchart states this in the header. When I go into System Setttings | System Info, I get that I’m running Cinnamon 1.8.6, the distro is Ubuntu 13.04: raring, the Kernel is 3.8.0-23-generic.

    Anyone else who has used this process seeing this? And have I gone from Mint 14 to 15 or from Mint 14 to Ubuntu?

  27. PengouinPdt says:

    Yeah, so run!
    And after, if you have Linux Mint XFCE, and when trying to connect onto graphical session, if you’ve the message ‘Failed to load session “Ubuntu” !’.

    CTRL + ALT + F1 to run in session mode terminal. Tape your ID and pass and after tape :
    echo xfce4-session > ~/.xsession

    And after, CTRL + ALT + F8 to retry an attempt to connect graphical session!

  28. Hired Goon says:

    Tried other instruction from Linux community forum which did not work. Thank goodness someone linked to this site. Worked nicely thanks.

  29. Yehuda says:

    1. Great info, works like a charm.
    2. Do NOT do it during working hours, nothing should go wrong, but it might, and when it does it could take some time to return to normal.
    3. use the screen tool to perform the upgrade, so if something happens and you lose access to the GUI, you can always access the process from one of the terminals (Alt+Ctrl+F[1-7]).
    4. Do NOT lock your screen during the upgrade, you might not be able to return.

  30. mark says:

    So would this now be correct? I know I am going to look dumb here but I am more than green with Linux but AI am liking it so far, I have been playing with several disti’s for just over a month now and have pretty much kick the windows habit

    $ sudo sed -i ‘s/raring/raring/’ /etc/apt/sources.list
    $ sudo sed -i ‘s/olivia/olivia/’ /etc/apt/sources.list
    .

  31. I’ve run this on 2 machines and both are working perfectly. Thanks you for this great Linux Mint guide.

  32. Ravenheart says:

    Worked great. I’ve got the 64bit Cinnamon version. I’m almost endlessly surprised at what a mature, well maintained distribution Linux Mint is. Upgrading seemed to go just as it should. I’ll need more time to thoroughly verify that all programs still have all of their extensive functionality, but all of my installed program packages appear to be running as they should, including WINE, Libreoffice, Gimp, Keepnote, luckybackup, Clementine, Bitnami LAMP Server, Drupal, Audacity, & all of my drivers, video & audio codecs. When prompted several times during the upgrading process, I selected “N” to keep my existing settings. The only single time I selected “Y” was to accepted changes related to GRUB. By selecting “N”, I kept all of existing panel, desktop, & configurations that I had under mint 14, which I suspect is what most people will want to do. It goes without saying, but make sure you have a full backup before trying a dist-upgrade this way….you’re talking about a couple hours of continuous downloads & updates (depends on your existing installed packages), so I would look at it from the perspective that something WILL go wrong, rather than thinking it won’t & getting kicked in the teeth.

  33. Guy Rouillier says:

    Worked perfectly for me. All my existing software continues to work, all my menu items resulting from non-packaged software are present. Most painless Mint upgrade ever – thanks!

    Only glitch I see is that, like Metallinatus, my boot up sound is missing – no big deal. I’ll post back if I figure out how to get it enabled again.

  34. Rodrigo Schmidt says:

    Clock and sound stopped working. I don’t recommend this method at all.

    • Rodrigo Schmidt says:

      Well, after another update and a reboot, the clock and sound returned. But I am with a broken sources.list file and some wallpapers and fonts are missing. It’s a interesting way to upgrade your version, but the another one is more reliable.

  35. TK says:

    Worked perfectly – great thx.

  36. Proof says:

    Worked like a charm. Great stuff! Thanks for the info! However, I have one question, in my Grub menu it says that I’m using Linux Mint 14, but the install went perfect and I’m using Linux 15. And one more thing, the Kernel didn’t upgrade to one from Linux mint 15. Is it OK?

  37. Mike says:

    Before doing this, if you are using lvm, you can
    - create cd new partition “root-olivia” and format it with ext4.
    - mount your actual root in a directory : mount -o bind /
    - rsync from this directory to your new partition
    - modify etc/fstab in the new partition to make root point to it
    - modify /boot/grub/grub.cfg by copying the first option, renaming it to mint15 and change root to the new root partition
    - reboot and choose the new option on grub.

    => then you have exactly the same system but on another partiton. Make all the tests you want and
    - if it works remove definitively the old partition
    - if it didn’t, reboot to your old partition.

  38. g55rumpy says:

    run sudo -i su first, then sed -i stuff, then: apt-get update; apt-get dist-upgrade. now apt-get upgrade. run dna-fix (so you`ll have internet), then reboot

  39. very nice post. i needed to this learning.

  40. ko44 says:

    Excellent info provided . Upgraded from Mint Maya 13 to Petra 16 running on external drive in one shot. Took about 2 hours as there were some broken dependencies that had to be resolved with synaptic , otherwise flawless . Many thanks!

7 Pings/Trackbacks for "How to Update / Upgrade from Linux Mint 14 Nadia to Linux Mint 15 Olivia"
  1. [...] Ref: How to Update / Upgrade from Linux Mint 14 Nadia to Linux Mint 15 Olivia | LinuxG.net [...]

  2. [...] Busco y encuentro un artículo en inglés bastante aclaratorio. [...]

  3. [...] 출처: http://linuxg.net/how-to-update-upgrade-from-linux-mint-14-nadia-to-linux-mint-15-olivia/ [...]

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!