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 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 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
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.
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.
-
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.
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 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
....
Ensure VirtualBox drivers are correctly registered in new kernel :
sudo /etc/init.d/vboxdrv setup
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
Linux Mint 16 to 17
On configuration file changes reply always with: install the package maintainer's version
If services needs to be restarted choose Yes.
I did one upgrade and it worked!
Keep in mind that you get new 'Mint 17' backgrounds. Old 'Mint 16' backgrounds are still there.
After the upgrade I was confused to see still the Mint 16 background, but the install respected not to change my current settings.
Did another upgrade. Laptop, Dual Core 2 GHz. Downloading of 1800 packages took 10 minutes.
Installation of all these packages took in my case 1 hour and 10 minutes.
Keep in mind: There is an anoying bug: see this post and my comment: linuxmint/cinnamon#3076
Update: Solved the bug! mintlocale is missing.
Just install it: