Skip to content

Instantly share code, notes, and snippets.

@hgomez
Last active October 23, 2018 14:08
Show Gist options
  • Save hgomez/7074150 to your computer and use it in GitHub Desktop.
Save hgomez/7074150 to your computer and use it in GitHub Desktop.
Mint 14 -> Mint 15 -> Mint 16

Mint upgrade procedures

Some investigation and tests on how to upgrade Mint machine.

Tests performed on Mint Cinnamon 14/15/16, on physical machine 14->15 and VirtualBox VMs for 14->15->16 and 14->16.

As usual you could break your machine, so please do backups before and cross fingers.

Mint 14 -> Mint 15

Mint 14 to Mint 15 update procedure was :

$ sudo sed -i 's/quantal/raring/' /etc/apt/sources.list
$ sudo sed -i 's/nadia/olivia/' /etc/apt/sources.list
$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo apt-get upgrade
$ sudo shutdown -r now

Mint 15 -> Mint 16

Mint 15 to Mint 16 update procedure is :

$ sudo sed -i 's/raring/saucy/' /etc/apt/sources.list.d/official-package-repositories.list
$ sudo sed -i 's/olivia/petra/' /etc/apt/sources.list.d/official-package-repositories.list
$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo apt-get upgrade
$ sudo shutdown -r now

Mint 14/15 -> Mint 16

If you updated from Mint 14 to Mint 15, upgrading to Mint 16 should be :

$ sudo sed -i 's/raring/saucy/' /etc/apt/sources.list
$ sudo sed -i 's/olivia/petra/' /etc/apt/sources.list
$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo apt-get upgrade
$ sudo shutdown -r now

Only fresh install of Mint 15 has /etc/apt/sources.list.d/official-package-repositories.list, but when updated from Mint 14 /etc/apt/sources.list is still defined and used.

Mint 14 -> Mint 16

If you want to update from Mint 14 to Mint 16, procedure should be :

$ sudo sed -i 's/quantal/saucy/' /etc/apt/sources.list
$ sudo sed -i 's/nadia/petra/' /etc/apt/sources.list
$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo apt-get upgrade
$ sudo shutdown -r now

Only fresh install of Mint 15 has /etc/apt/sources.list.d/official-package-repositories.list, but when updated from Mint 14 /etc/apt/sources.list is still defined and used.

Tests

  • Mint 14 -> Mint 15 -> Mint 16 : Works

  • Mint 14 -> Mint 16 : Works

### Side notes

#### Cleaning /etc/apt/sources.list

Remove contents from /etc/apt/sources.list and stick with /etc/apt/sources.list.d/official-package-repositories.list

deb http://packages.linuxmint.com petra main upstream import
deb http://extra.linuxmint.com petra main
deb http://archive.ubuntu.com/ubuntu saucy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu saucy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ saucy partner

Mint Software Source will be able to update it from UI.

Mint Theme Broken ?

I got Mint Theme broken on one updated instance. I restore back using :

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

A fresh mint-themes was installed

medibuntu

medibuntu has been closed, so it may be usefull to disable it from /etc/apt/sources.list :

...
# deb http://packages.medibuntu.org/ raring free non-free
....

VirtualBox

Ensure VirtualBox drivers are correctly registered in new kernel :

sudo /etc/init.d/vboxdrv setup

Optimus / Bumblebee

You may encoutered error about missing libturbojpeg.so

"error while loading shared libraries: libturbojpeg.so: cannot open shared object file: No such file or directory"

To fix it :

sudo ln -s /usr/lib/x86_64-linux-gnu/libturbojpeg.so.0 /usr/lib/x86_64-linux-gnu/libturbojpeg.so

I followed Bumblebee page and now use nvidia driver 319 (vs 304)

sudo apt-get install nvidia-319-updates nvidia-settings-319-updates

@DanyC97
Copy link

DanyC97 commented Jan 24, 2016

Superb list.
Fyi from 15 to 16 i also had to run sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list.d/official-package-repositories.list

Keep an eye here too http://superuser.com/questions/779156/how-to-upgrade-from-linux-mint-15-to-linux-mint-17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment