Upgrade ubuntu to a new release
To upgrade ubuntu to a new release you have two options or maby three options. The third option consists of reinstalling you system with the new release. The 2 other options are without reinstalling the complete system and will be explained here.
The first options is by command line:
sudo sed -e ’s/\soldversion/ newversion/g’ -i /etc/apt/sources.list sudo apt-get update sudo aptitude dist-upgrade sudo aptitude dist-upgrade
No, it’s not a mistake the two entries of the command “sudo aptitude dist-upgrade” because sometimes there can be a conflict that only a second run of the command can solve it.
The “oldversion” can be intrepid and “newversion” can be jaunty as an example.
The second options is the graphical way but you still need to enter one command.
gksudo “update-manager -c -d”
You have to make sure that the “Show new distribution release” to “Normal releases” is set in Software Sources update tab. This only needs to change if you have a LTS release installed.
Now you will update your system with the update-manager of ubuntu. You only need to confirm a few things and then it’s doing it for you.
After this reboot your system so you also use the new kernel.
Fourth option is to use “sudo do-release-upgrade”. It’s the CLI-version of update-manager.
Thnx for the contribution.