How To Properly Upgrade From Linux Mint 17 Qiana To Linux Mint 17.1 Rebecca, Via Command-Line

Hello Linux Geeksters. As you may know, Linux Mint 17.1 Rebecca has been released last month, in both the traditional flavors: Mate and Cinnamon, while the KDE and XFCE versions are just release candidates.

Starting with Linux Mint 17.1, the developers have stopped using regular Ubuntu systems as code base and decided to build Linux Mint only on LTS versions (similar to the Pinguy OS and Elementary OS policy).

How To Properly Upgrade From Linux Mint 17 Qiana To Linux Mint 17.1 Rebecca, Via Command-Line

How To Properly Upgrade From Linux Mint 17 Qiana To Linux Mint 17.1 Rebecca, Via Command-Line

How To Properly Upgrade From Linux Mint 17 Qiana To Linux Mint 17.1 Rebecca, Via Command-Line

How To Properly Upgrade From Linux Mint 17 Qiana To Linux Mint 17.1 Rebecca, Via Command-Line

In this article I will show you how to properly upgrade your Linux Mint 17 Qiana system to Linux Mint 17.1 Rebecca, via command-line.

While Linux Mint provides an official upgrade path from the GUI, some users (like myself) may prefer performing the upgrade directly from the terminal.

The upgrade method described in this article works for all the Linux Mint flavors: Mate, Cinnamon, XFCE and KDE.

Follow the below instructions exactly, in order to get a successful upgrade system.

How to upgrade from Linux Mint 17 Qiana to Linux Mint 17.1 Rebecca:

First, backup to official sources, just in case, if something unexpected happens.

$ sudo cp /etc/apt/sources.list.d/official-package-repositories.list{,.bak}

OR, if you are not familiar with wildcards, do:

$ sudo cp /etc/apt/sources.list.d/official-package-repositories.list /etc/apt/sources.list.d/official-package-repositories.list.bak

Next, we have to replace qiana with rebecca, in the sources file. Instead of doing this by hand, taking the lines one by one, I will be using this sed oneliner:

$ sudo sed -i 's/qiana/rebecca/g' /etc/apt/sources.list.d/official-package-repositories.list

Now, in order to finish the upgrade process, we have to update the local repository index and perform a regular system upgrade:

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

Revert the changes, only if the upgrade process does not finalize successfully:

Replace the modified sources list with the backup:

$ sudo rm /etc/apt/sources.list.d/official-package-repositories.list
$ sudo mv /etc/apt/sources.list.d/official-package-repositories.list.bak /etc/apt/sources.list.d/official-package-repositories.list

Upgrade the repository index and perform a system upgrade:

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

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!
3 comments on “How To Properly Upgrade From Linux Mint 17 Qiana To Linux Mint 17.1 Rebecca, Via Command-Line
  1. Neil says:

    Hi there, I am very new at Linux Mint and can’t comprehend a lot of the jargon. This guide seems fantastic, but as an ex windows user of many years (finally fed up) I tended to go for the Linux Mint as it was, to me, similar looking in that is more GUI.
    I had managed an upgrade to Mint 17, but then along came Rebecca 17.1.
    My question is if I may ask, would it be safe for me to do a reinstall as you have described, over what I already have?. Mainly because my system hasn’t felt right since my upgrade. I am hopeful for a reply, keep up the great work. Cheers for now.

    • Geekster says:

      The best advice is to backup everything and install Linux Mint 17.1 in the official way. But if you do not desire that, you could upgrade from the command-line.

      • Neil says:

        Thanks Geekster, appreciate your help.
        Now if we could just get that Filebot to work with 17.1 there would be a lot of happy people around, because there doesn’t seem to be an answer that I can find!!!!

Leave a Reply to Neil Cancel reply

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

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

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