PDA

View Full Version : [ubuntu] Upgrade from 12.04 to 14.04



andysummerskill
November 14th, 2015, 06:08 PM
Been running 12.04(LTS) for 3 years with no problems but decided it's about time to upgrade. However, Update Manager only gives me the option to upgrade to 12.10 (which is unsupported) not to the current LTS version, 14.04.

I thought it should always be possible to upgrade from one supported LTS version to the next?

Is there anyway I can do the upgrade from 12.04 to 14.04 or is the choice for me either to do a fresh install of 14.04 or stick with 12.04?

Thanks,
Andy

deadflowr
November 14th, 2015, 06:15 PM
Your software sources settings is set for any version.
That needs to be changed to long-term-release only.
To do so, you need to click on the settings button in the update manager.
Then go to the section updates.
Then toggle the line that should read something like 'notify of new version"
Select the long term release option.
(It'll ask for a password)
The click on the close button, and if it doesn't ask to reload, when you get to the main update manager window, click on check.
The check will reload the option and when that is done the option of release-upgrade will be for 14.04.

Hope it helps

andysummerskill
November 14th, 2015, 06:35 PM
Thanks for the reply.

I should have said that if I choose "Long-term Support versions only" in Update Manager, then there is no version shown to upgrade to.

Thanks,
Andy

deadflowr
November 14th, 2015, 06:47 PM
Do you have (normal) updates ready to install?

And if so, is one of them marked as something like update-manager-core?

andysummerskill
November 14th, 2015, 07:20 PM
I did an update immediately before investigating upgrading. Didn't note whether one of the packages was update-manager-core. However, just now Update Manager shows "There are no updates to install".

Thanks,
Andy

Bashing-om
November 14th, 2015, 07:56 PM
andysummerskill; Hello;

I think command line rather then GUI, I would want to look directly and see what is set for the upgrade path.


cat /etc/update-manager/release-upgrades

Make sure the system is fully updated, any proprietary graphics driver ( and other PPAs) are reverted to standard, and screensaver is disabled.
Then:
Release Upgrade from terminal .



'buntu



more than 1 way

andysummerskill
November 15th, 2015, 01:12 PM
cat /etc/update-manager/release-upgradesreturns
prompt=LTS
Also, just to confirm, 'system setting -> details -> overview' shows that the OS is, indeed, ubuntu 12.04 LTS.
Can anyone confirm that, because I am running a currently supported LTS version, I should expect Update Manager to give me the option to upgrade to the next LTS version?

Thanks,
Andy

tokyobadger
November 15th, 2015, 01:50 PM
Ubuntu wiki notes on upgrading to 14.04 from 12.04 or 13.10 (https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#Upgrading_from_Ubuntu_12.04_LTS_or_Ub untu_13.10)

Upgrading from Ubuntu 12.04 LTS or Ubuntu 13.10To upgrade on a desktop system:


Press Alt+F2 and type in "update-manager" (without the quotes) into the command box.
Update Manager should open up and tell you: New distribution release '14.04 LTS' is available.
Click Upgrade and follow the on-screen instructions.

14.04 will be supported until 2019. The next LTS 16.04 is released April 2016.

andysummerskill
November 15th, 2015, 01:54 PM
Yes, that is what I would expect to happen but it isn't happening on my machine. Hence my query.

tokyobadger
November 15th, 2015, 02:08 PM
Are you running update-manager from command line?

andysummerskill
November 15th, 2015, 06:22 PM
Running upgrade from CL gives
andy@andy-laptop:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
andy@andy-laptop:~$

deadflowr
November 15th, 2015, 06:28 PM
Please post the full output for

sudo apt-get update
Use code tags in your reply.

flocculant
November 15th, 2015, 06:29 PM
apt-get dist-upgrade is nothing to do with updating to a new version of the OS

Try


sudo apt-get install update-manager-core
sudo do-release-upgrade