Terminal command to upgrade from Linux Mint 16 to Linux Mint 17

Could anyone advise on the correct terminal commands to upgrade from Linux Mint Petra to Linux Mint Qiana?


$ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list

$ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list

$ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list.d/official-package-repositories.list

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

Use sed to replace references to saucy with trusty, and petra with qiana in the sources

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

$ sudo apt-get upgrade

Update the repositories with the new settings and run a dist-upgrade to upgrade to the new version cleanly, then run upgrade to make sure all the packages are updated.


Update to Mint 17 without loosing your settings from Mint 16 (or other former versions) but still installing the newest release directly from CD:

Please take a look at:

http://forums.linuxmint.com/viewtopic.php?f=42&t=167083&p=858729&hilit=backup#p858729

or you can directly go to the project page:

https://github.com/MintBackupRestore/MintBackupRestore

With best regards, Mint_BackupRestore