LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-20-2012, 07:51 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Upgrade10.04 to ubuntu 12.04 LTS


Hi all,

Following guide;
Upgrade to Ubuntu 12.04 from Ubuntu 10.04 via the Terminal
http://www.liberiangeek.net/2012/04/...-the-terminal/

worked for me to upgrade all Ubuntu 10.04 to 12.04 on all VMs of VirtualBox.

But it didn't work on Guests of KVM.

$ sudo do-release-upgrade
Code:
Checking for a new ubuntu release
No new release found
$ lsb_release -a
Code:
NO LSB modules are available
Distributor ID: Ubuntu
Description:  Ubuntu 10.04.4 LTS
Release:  10.04
Codename:  lucid
Pls help. TIA

B.R.
satimis
 
Old 07-21-2012, 04:51 PM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
I looked at your "Liberian Geek" tutorial, and it wasn't very good... they gave bad advice about changing /etc/update-manager/release-upgrades from "prompt=lts" to "prompt=normal"... seems to me that is the exact opposite of what you need to go from LTS to LTS.

Maybe try again using the official instructions from Ubuntu.com?
https://help.ubuntu.com/community/PreciseUpgrades

Last edited by snowday; 07-21-2012 at 04:53 PM.
 
Old 07-22-2012, 02:43 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by snowpine View Post
I looked at your "Liberian Geek" tutorial, and it wasn't very good... they gave bad advice about changing /etc/update-manager/release-upgrades from "prompt=lts" to "prompt=normal"... seems to me that is the exact opposite of what you need to go from LTS to LTS.

Maybe try again using the official instructions from Ubuntu.com?
https://help.ubuntu.com/community/PreciseUpgrades
Hi,

Thanks for your advice.

We can't upgrade 10.04 direct to 12.04 on Internet. We must go through;
10.04 -> 10.11 -> 11.04 -> 11.10 -> 12.04

That guide works seamlessly.

On Virtual Box:
I can upgrade all 10.04 VMs (desktop and server) to 12.04 without problem.

On KVM
I can only upgrade 10.04 guests (desktop) to 12.04 without problem. But failed to upgrade 10.04 (server) to 12.04, alwaying saying "no upgrade found".

The only difference is KVM 32bit (host 32bit Debian 6.0 desktop) and VirtualBox 64bit (host 64bit Ubuntu 12.04 desktop)

I can't resolve.

satimis

Last edited by satimis; 07-22-2012 at 03:13 AM.
 
Old 07-22-2012, 07:37 AM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by satimis View Post
We can't upgrade 10.04 direct to 12.04 on Internet. We must go through;
10.04 -> 10.11 -> 11.04 -> 11.10 -> 12.04
You can upgrade directly from 10.04 to 12.04 in one step if you follow the official upgrade instructions from Ubuntu.com (link in my post above). That page also has instructions for upgrading your Server install.

Give it a try, and if it doesn't work, copy & paste full terminal output of the failed upgrade so I can try to help you.

Last edited by snowday; 07-22-2012 at 07:40 AM.
 
Old 07-22-2012, 07:57 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by snowpine View Post
You can upgrade directly from 10.04 to 12.04 in one step if you follow the official upgrade instructions from Ubuntu.com (link in my post above). That page also has instructions for upgrading your Server install.

Give it a try, and if it doesn't work, copy & paste full terminal output of the failed upgrade so I can try to help you.
I tried many times on 3 servers according to;
Network Upgrade for Ubuntu Servers (Recommended)

Set
Prompt=normal

also
Prompt=lts

Ran;
$ sudo do-release-upgrade

also
$ sudo do-release-upgrade -d

All complain "No new release found"

B.R.
satimis
 
Old 07-22-2012, 08:04 AM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Is there a reason you are summarizing the terminal output instead of copying & pasting so perhaps one of us can spot a detail you overlooked?

Anyway it looks like you skipped step 1:

Code:
sudo apt-get install update-manager-core
And maybe you didn't read:

Quote:
Note that if you're upgrading from 10.04 LTS, do-release-upgrade will complain "No new release found" until 12.04.1 is released. To force an upgrade, use the -d option. See Ask Ubuntu for more information.
http://askubuntu.com/questions/12539...4-to-12-04-lts

Your "Liberian Geek" tutorial omitted this important information; this is why it's always good to use the official Ubuntu documentation.

Last edited by snowday; 07-22-2012 at 08:06 AM.
 
Old 07-22-2012, 10:26 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by snowpine View Post
Is there a reason you are summarizing the terminal output instead of copying & pasting so perhaps one of us can spot a detail you overlooked?

Anyway it looks like you skipped step 1:

Code:
sudo apt-get install update-manager-core
And maybe you didn't read:

http://askubuntu.com/questions/12539...4-to-12-04-lts

Your "Liberian Geek" tutorial omitted this important information; this is why it's always good to use the official Ubuntu documentation.
This is server without graphic.

What I don't understand is why the steps work seamlessly on Ubuntu server running on VMs of VirtualBox. They don't work on Ubuntu server running on guests of KVM.
 
Old 07-22-2012, 12:15 PM   #8
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
I don't understand either, because you haven't given enough information. My advice is to wait until 12.04.1, at which time a 10.04 to 12.04 server upgrade will be tested and recommended (the -d flag, signifying "development/testing," will no longer be required).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
About upgrade10.04 to ubuntu 12.04 LTS satimis Ubuntu 10 06-22-2012 04:54 AM
LXer: Ubuntu 12.04 LTS KVM Virtualization Battles 8.04.4, 10.04.4 LTS LXer Syndicated Linux News 0 04-09-2012 11:40 AM
No enough space error when trying upgrade ubuntu from 8.04 lts to 10.04 lts flik shen Ubuntu 5 06-15-2010 12:44 PM
LXer: I update Ubuntu 6.06 LTS and 8.04 LTS ... one has SSH issues, one does not LXer Syndicated Linux News 0 05-20-2008 07:30 AM
LXer: Upgrade Ubuntu 7.10 (Gutsy Gibbon) to Ubuntu 8.04 LTS (Hardy Heron) Beta LXer Syndicated Linux News 0 03-26-2008 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration