Linux – How to upgrade Ubuntu 9.04 to Ubuntu 10.10 in one step

linuxUbuntu

Without having to upgrade to each major release. The upgrade manager wants me to go to 9.10.

Best Answer

If you really want to, though, you can change your /etc/apt/sources.list file to point to the new repositories and then run the following:

sudo sed 's/jaunty/maverick/g' /etc/apt/sources.list -i & sudo apt-get update & sudo apt-get dist-upgrade -y

Just because it can be done doesn't mean it's a good idea. If this is a workstation you wouldn't mind reinstalling if you had to, go for it. If it's a VM you can take a snapshot of beforehand, go for it. If it's a production server or has important date that isn't backed up, take a backup and don't do it this way :)