Hello Linux Geeksters. In this article I will show you how to update / upgrade Linux Mint 15 Olivia to Linux Mint 16 Petra, by changing the repositories and fully updating system with apt.
Use these two oneliners to replace “raring” with “saucy” and “olivia” with “petra”, in order to get the needed repos.
$ sudo sed -i 's/raring/saucy/' /etc/apt/sources.list
$ sudo sed -i 's/olivia/petra/' /etc/apt/sources.list
Next, you have to fully update the system:
$ sudo apt-get update && sudo apt-get dist-upgrade
After this happens, your apt manager will ask you if you want to new configuration files, or you prefer to keep the old ones. I usually type Y, to accept the new files. The old ones will be in stored in the same directory as the new ones, but with the appendix .dpkg-old, so if you are not pleased with the new settings, you can restore your old ones.
$ sudo apt-get upgrade
$ sudo shutdown -r now
This is it. Enjoy.