Is there any way to upgrade ubuntu 10.10 to 12.04 but without using uodate manager.
just by using any command in terminal...?

Dani AI

Generated

— short answer: yes, but not reliably these days. is correct that an in-place upgrade must be done release-by-release rather than jumping straight to 12.04, but Ubuntu 10.10 reached end-of-life long ago and its online archives were moved. That makes the “standard” upgrade sequence fragile: the official guidance for upgrading EOL releases explains how to work with archived repositories and when a fresh install is the safer option. EOLUpgrades and the Ubuntu release notice for Maverick show the EOL timing and caveats. (lists.ubuntu.com)

If attempting an in-place chain upgrade anyway, prepare as if you might lose the install: take a full disk image, test the newer release from live media, and disable or remove any third-party PPAs and proprietary drivers before you start (those are common failure points). Image-based backups (Clonezilla is a widely used option) let you restore quickly if the upgrade breaks, and AskUbuntu has many practical tips about avoiding PPA-related dependency problems. (github.com)

Practical recommendation: unless there is a strong reason to preserve the exact running system, back up and do a clean install of a currently supported Ubuntu release rather than trying to chain multiple upgrades from an EOL release — it is faster, more robust, and more secure (12.04 itself is also EOL). For exact, version-specific steps (if still required), follow the EOL upgrade documentation linked above. (documentation.ubuntu.com)

Recommended Answers

All 2 Replies

Please read it as Update manager

It should be possible to updgrade from 10.10 to 12.04, but to be honest, it would probably be quicker and easier to do a clean install of 12.04.

Assuming you still have the update manager installed:
(Note: You will still need the update manager - if you do not have it installed, run the following command: sudo apt-get install update-manager-core)

In order to perform the upgrade via the command-line:
First back up all important documents.
Next open the file /etc/update-manager/release-upgrades with a text editor and change the line that starts with Prompt= to Prompt=normal

Note: The 'lts' setting is not appropriate here. You can only update from one LTS version to another LTS version if the currently installed version is itself an LTS version.
10.10 is not an LTS and the next LTS is 12.04. So you will have to use the 'normal' option and then you'll have to upgrade from 10.10, to 11.04, to 11.10, to 12.04.

You can do this with sudo vim /etc/update-manager/release-upgrades.
NOTE: Substitute vim with whatever your preferred text editor is.
If you use a GUI text editor (e.g. gedit or kate) you should use gksudo instead of sudo.

After saving the file and exiting your text editor, the next step is to ensure that the current install is up to date and that any unused/unneeded packages are removed:
sudo apt-get update && sudo apt-get upgrade & sudo apt-get autoremove

Finally perform the upgrade from 10.10 to 11.04 using:
sudo do-release-upgrade
This will start the upgrade process to 11.04.

Once 11.04 has successfully installed, repeat the previous two steps:
sudo apt-get update && sudo apt-get upgrade & sudo apt-get autoremove
sudo do-release-upgrade

This should upgrade you to 11.10.
Finally, repeat the two steps again to upgrade from 11.10 to 12.04.

IF all of this succeeds (emphasis on the IF part!) and 12.04 installs and is still usable:
Reopen the file /etc/update-manager/release-upgrades with your favourite editor and set the line starting with Prompt= to Prompt=lts.
That way you should be able to upgrade from 12.04 to subsequent LTS releases.

Again, it might be quicker and easier to back up all of your files, do a fresh install of 12.04 on your machine and restore your old files.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.