I've a question about upgrading my old Ubuntu 11.04 to the latest version. How can I do this without loosing my settings and data?
-
1This question has been asked before, I suggest you make a backup and follow the instructions to this question: http://askubuntu.com/questions/110477/how-do-i-upgrade-to-a-newer-version-of-ubuntu – Minos Jan 12 '15 at 11:20
2 Answers
Since Ubuntu 11.04 release has reached "End of Life", it could take additional steps to upgrade. Ubuntu Documentation has article describing the process:
The steps are:
- Determine if backup required (and make one) if things go wrong.
Make sure you have the following lines at
/etc/apt/sources.list
:deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
Update the package list and upgrade all the installed packages:
sudo aptitude update && sudo aptitude safe-upgrade
Perform the release upgrade:
sudo do-release-upgrade

- 692
Please using the below command and check the new update available for upgrade,
lsb_release -a
After checking the update, try with the below commands and upgrade the ubuntu to latest version,
sudo apt-get update
sudo apt-get dist-upgrade
Hope this helps.

- 3,156
- 1
- 12
- 11
-
2
apt-get dist-upgrade
doesn't upgrades Ubuntu from an older to a newer version. – Eric Carvalho Jan 12 '15 at 14:00