Linux Mint 17 upgrade

Running Linux Mint 16 still? Want Linux Mint 17?

$ 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

That will replace the versions in the relevant files, so when you run an apt-get update it will read the Mint 17 versions. Then to actually do the update….

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

$ sudo apt-get upgrade

Job done, Reboot to be safe 🙂