Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 467  / 1 Year ago, sun, march 26, 2023, 2:59:12

I wanted to upgrade my Ubuntu 14.04.2 to Ubuntu 15.10. I learned I first had to upgrade to 14.10 then to 15.04 and then finally to 15.10. In terminal I entered:



sudo apt-get dist-upgrade


About 315 MB data was downloaded and text went on scrolling in the terminal window. At last the process wound up. I restarted system and ran in terminal:



lsb_release -a


and It gave the output:



LSB Version:    core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch:security-4.0-ia32:security-4.0-noarch:security-4.1-ia32:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2


etc... I was shocked that it is not upgraded what should I do now to upgrade and what went wrong with me? Thanks!


More From » 14.04

 Answers
6

First, 14.10 is beyond end of life and so it is going to be more difficult.



Second "dist-upgrade" does NOT upgrade ubuntu. (This is a fairly common misunderstanding, perhaps the option "dist-upgrade" is a bit misleading, perhaps dist-sync or some such would have been better).



From the man page: http://manpages.ubuntu.com/manpages/vivid/man8/apt-get.8.html




dist-upgrade



       dist-upgrade in addition to performing the function of upgrade,
also intelligently handles changing dependencies with new versions
of packages; apt-get has a "smart" conflict resolution system, and
it will attempt to upgrade the most important packages at the
expense of less important ones if necessary. So, dist-upgrade
command may remove some packages. The /etc/apt/sources.list file
contains a list of locations from which to retrieve desired package
files. See also apt_preferences(5) for a mechanism for overriding
the general settings for individual packages.



You upgrade by running update manager



http://www.ubuntu.com/download/desktop/upgrade



And finally, it is going to take longer and be more error prone to upgrade this way. A fresh install is faster, more reliable, and will preserve your data in /home as long as you do not format the partition with /home on it.



https://help.ubuntu.com/community/UbuntuReinstallation




Since Hardy it is possible to reinstall Ubuntu without losing the
content of the /home folder (the folder that contains program
settings, internet bookmarks, emails and all your documents, music,
videos and other user files). This can be done even if /home is not on
a separate partition
(which is the case by default if you did not
manually separate it when installing Ubuntu originally). This tutorial
can also be used to upgrade Ubuntu (eg 11.04 -> 12.04 from a 12.04
live-CD).




The other unspoken advantage of a fresh install is that you have the opportunity to test the new version of Ubuntu on your hardware before you upgrade. It is frustrating to upgrade via update manager and then discover you have a hardware problem , can leave you stuck re-installing and updating the old version.



And last, before you upgrade, upgrades can always fail, so back up your data first.


[#18880] Sunday, March 26, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
huovie

Total Points: 234
Total Questions: 99
Total Answers: 105

Location: Central African Republic
Member since Sun, Feb 26, 2023
1 Year ago
;