Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
New release 'oneiric' available.
Run 'do-release-upgrade' to upgrade to it.

2222222-desktop:~$ do-release-upgrade
Checking for a new ubuntu release
No new release found

why does it say there is an upgrade then says it does not find it?

I have been slowly upgrading from 9x to 11.04. I had some issues along the way but nothing google could not help me with. Now this has me stuck.

I have tried

sudo apt-get update

this worked so it was not the issue I had before where my keys were invalid.

sudo apt-get upgrade

after that did nothing.

sudo do-release-upgrade returned with "no upgrade found"

do-release-upgrade -d. did the trick. I should have tried it since I did come across the -d tag in researching this. I had thought since the terminal itself knew there was an update available, it should find it. Thank you all for helping.

share|improve this question
    
I have been slowly updating this computer from 9.something researching and learning all the way, but can't find out how to get around this... so far. –  Jonathan Jul 6 '12 at 15:00
    
I checked /etc/update-manager/release-upgrades Prompt=normal I tried sudo apt-get update with normal results. I then did sudo apt-get upgrade -- nothing to upgrade. I tried do-release-upgrade too. –  Jonathan Jul 6 '12 at 15:07
    
Which Ubuntu are you trying to upgrade from? –  Thomas W. Jul 6 '12 at 15:15
    
can anybody tell me what the Lord is trying to say? I am guilty of not reading btw. Will look for them. Release notes for 11.10 or 12? –  Jonathan Jul 6 '12 at 15:16
1  
@Jonathan - You can edit your original question to include new information. –  Fernhill Linux Project Jul 6 '12 at 15:22

2 Answers 2

From Natty to Oneiric
Oneiric Release Notes - Upgrading
Focus on the "Upgrading from 11.04" section.

To upgrade from Ubuntu 11.04 on a desktop system, press Alt+F2 and type in update-manager -d into the command box. Update Manager should open up and display following message: "New distribution release '11.10' is available. Click Upgrade and follow the on-screen instructions".

To upgrade from Ubuntu 11.04 on a server system, follow the steps listed below:
Step 1: Install the update-manager-core package (if it is not already installed).
Step 2: Use following command: sudo do-release-upgrade -d to launch the upgrade tool.
Step 3: Follow the on-screen instructions. Note that the server upgrade is now more robust and will utilize GNU screen and automatically re-attach in case of dropped connection problems, for example.


Precise
Precise Release Notes - Desktop - Upgrading
Precise Release Notes - Server/CLI - Upgrading

Using CLI and do-release-upgrade:

You will need to upgrade to Oneiric (11.10) first before you can upgrade to Precise.

From 11.10 to 12.04
To upgrade from Ubuntu 11.10 on a server system, follow the steps listed below:
1.Install the update-manager-core package (if it is not already installed).
2.Run sudo do-release-upgrade to launch the upgrade tool.
3.Follow the on-screen instructions. Note that the server upgrade is now more robust and will utilize GNU screen and automatically re-attach in case of dropped connection problems, for example.

From 10.04 to 12.04
(see the release notes for Server/CLI)

share|improve this answer
    
That command will try and update to the latest development release - 12.10 and not 12.04?. man do-release-upgrade -d, --devel-release Check if upgrading to the latest devel release is possible –  Fernhill Linux Project Jul 6 '12 at 15:18
    
@FernhillLinuxProject see the release notes for Oneiric, i've linked them. The release notes explain how to upgrade to different releases. If he's on 11.04 as he stated, he'll need to do incremental upgrades (see Oneiric release notes first) –  Thomas W. Jul 6 '12 at 15:29
    
As stated he is using 11.04 and trying to upgrade to 11.10. sudo do-release-upgrade will incrementally upgrade you to the next version, in this case 11.10. This is not working in this case - not sure why, but release notes on upgrading 11.10 to 12.04 will not help much, neither will sudo do-release-upgrade -d. I am curious what could be causing the problem though - any suggestions? –  Fernhill Linux Project Jul 6 '12 at 15:34
    
Note because of copying issues where formatting explodes here, I've not included the majority of the stuff for Precise. Please refer to the release notes as needed, using Desktop release notes for GUI, and Server/CLI for CLI upgrading. –  Thomas W. Jul 6 '12 at 15:36
    
That seemed to do something. I thought I was taking care of that by editing my /etc/update-manager/release-upgrades so that the Prompt=normal. I had come across the -d tag before but for some reason didn't try it. Thank you. –  Jonathan Jul 6 '12 at 15:37

do-release-upgrade

should be prefixed with sudo

sudo do-release-upgrade

and you may want to run the following command first

sudo apt-get update

although if you have been upgrading from 9.xx then you probably know that anyway,

so I apologise for stating the obvious if that is the case. :o)

share|improve this answer
1  
yep yep yep, I have forgotten sudo often enough when trying to do something. I forgot to add it when I commented. :) –  Jonathan Jul 6 '12 at 15:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.