Accessing upgrade to 11.04
When the opportunity to upgrade to 11.04 appeared on my netbook I was short of time and hit the "don't upgrade" button. Now I can't get update manager to find the 11.04 upgrade - I've tried changing settings but no joy. I would like to upgrade as I have 11.04 on my desktop and it's good. What can I do?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Eliah Kagan
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
You should be able to re-enable checking for release upgrades by clicking the Settings... button in the lower-left corner of the Update Manager window, which brings up the Software Sources window; then click the Updates tab, and at the bottom, change "Show new distribution releases" to "Normal releases".
Alternatively, you can also upgrade to Ubuntu 11.04 using the procedure "for servers" (which works equally well on desktops) at https:/
Revision history for this message
|
#2 |
In Update Manager> settings > Update tab there is no "Show new distribution releases" option. It is already set to "Normal releases".
I tried the servers procedure without success. In Terminal, it showed as latest version of update-manager-core already installed, and no new upgrade version available.
This is on a netbook by the way - does that make a difference?
Maybe I should just download to a CD and start again?
Revision history for this message
|
#3 |
What do you mean when you say that there is no "Show new distribution releases" option? (You then say that "It is already set to...", so you don't really mean it's not there, do you?)
When you followed the instructions at https:/
It's normal for update-manager-core to already be installed. Did you actually run "sudo do-release-
If you had run "sudo do-release-upgrade" and that hadn't worked, please open a Terminal window and run this command by copying it and pasting it into the Terminal:
sudo do-release-upgrade; lsb_release -a; cat /etc/update-
(If that command is split into multiple lines in your email, please come to https:/
Then select all the text in the Terminal (Edit > Select All), copy it to the clipboard (Edit > Copy), and paste it here.
Revision history for this message
|
#4 |
Apologies - I overlooked that it was a "Show new distribution releases" option - I was looking for that to appear in the drop down box.
It does however show "Normal releases".
I didn't do step 2 because it said the update-manager-core was already installed; also I don't know how to do the "edit /etc/update-
I did try the "sudo do-release-upgrade" and the "sudo do-release-upgrade; lsb_release -a; cat /etc/update-
arnold@
[sudo] password for arnold:
Checking for a new ubuntu release
No new release found
arnold@
sudo: do-release-upgrade: command not found
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
cat: /etc/update-
cat: /release-upgrades: No such file or directory
arnold@
Hope this is helpful.
Revision history for this message
|
#5 |
Are you sure that command wasn't split into multiple lines? It was apparently *not* copied correctly.
Well, it gave some information. So you can just run this command, and post the text from the Terminal (starting with the beginning of the line on which you paste in this command):
sudo do-release-upgrade; cat /etc/update-
Again, if that command is split into multiple lines in your email, please come here to https:/
Revision history for this message
|
#6 |
This is what I got:
arnold@
[sudo] password for arnold:
Checking for a new ubuntu release
No new release found
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
prompt=normal
arnold@
Is that helpful?
Revision history for this message
|
#7 |
Helpful, yes. Do I know for sure what's causing the problem? No.
Please run:
cat /etc/apt/
As before, you might need to come to https:/
It's important to paste the results of that command here before running "sudo do-release-
Revision history for this message
|
#8 |
On second thought, instead of running that one long command (starting with "cat"), please run these five commands separately:
cat /etc/apt/
ls -l /etc/apt/
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
Those commands will *not* upgrade your system to a newer release (Ubuntu 11.04), though they may upgrade the packages on it to the latest available in your current release (Ubuntu 10.10). After running those commands and copying the text from the Terminal window and posting it here, please still run "sudo do-release-upgrade" and see if it works (and if it doesn't, copy the text from the Terminal associated with that most recent run of "sudo do-release-upgrade" and post it here).
Revision history for this message
|
#9 |
Here it is:
arnold@
# deb cdrom:[
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
# deb-src http://
deb http://
deb http://
deb http://
arnold@
total 0
arnold@
[sudo] password for arnold:
Get:1 http://
Ign http://
Ign http://
Get:2 http://
Get:3 http://
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Get:4 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 14.0kB in 1s (13.1kB/s)
Reading package lists... Done
arnold@
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
arnold@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
arnold@
It didn't work. Got this text:
arnold@
Checking for a new ubuntu release
No new release found
arnold@
Sorry to be causing this problem - I appreciate your help.
Revision history for this message
|
#10 |
Before we proceed further, there is a correction you should make to your /etc/apt/
I recommend you first back up the file:
sudo cp /etc/apt/
Then open it up in a text editor as root, so you can modify it. One way to do that is to press Alt+F2, type/paste in
gksu gedit /etc/apt/
and press enter.
Once you're in the text editor, change the three remaining instances of "karmic" to "maverick" (excluding the two instances at the very top of the file, which you needn't change).
(Once you get your system upgraded to Ubuntu 11.04, that *should* be changed automatically from "maverick" to "natty", but you shouldn't make that change now.)
I'll post again soon with instructions for continuing to work on the the problem upgrading. But I recommend making this change first.
Revision history for this message
|
#11 |
Back to working on the problem at hand:
Maybe there is a problem with the mirror you're using. Perform Step 1 of https:/
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
Post the output here, as before (or save it, so you can post it later), then try running "sudo do-release-upgrade" and see if it works this time.
"Sorry to be causing this problem - I appreciate your help."
There is no need to apologize--seeking and receiving help (and providing it) is what this forum is for.
Revision history for this message
|
#12 |
It still didn't work. I'm hoping I did everything correctly!
This is what I got:
arnold@
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
arnold@
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
arnold@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
arnold@
arnold@
Checking for a new ubuntu release
No new release found
arnold@
Revision history for this message
|
#13 |
It does not appear that step 1 of that procedure was performed successfully. That doesn't necessarily mean you did something wrong--it could have failed to apply the settings correctly, due to some bug. In any case, however, it seems to still be using the regional servers, rather than the central servers. Let's check and see if the changes you attempted to make in step 1 of that procedure were successful. Please run this command, and post all the text from the Terminal (starting with the line where you paste in this command):
cat /etc/apt/
You will notice that you've run this before. That's OK. Whether or not what you see looks like what you saw before, please paste it into your post.
Revision history for this message
|
#14 |
This is what I got:
arnold@
# deb cdrom:[
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://
# deb-src http://
deb http://
deb http://
deb http://
arnold@
Revision history for this message
|
#15 |
Following step 1 of https:/
Revision history for this message
|
#16 |
I just opened up Update Manager, selected "Settings" and left it open
whilst doing the terminal stuff. I don't know how to select the main
server from there.
BUT ...
when I started my netbook today, Update Manager opened and gave me the
option to upgrade to 11.04 - which I accepted! The upgrade is now in
progress and if it is successful I will close my question on Launchpad.
Do you think it was a result of the changes we have made, or is there an
automatic fresh opportunity to upgrade after a set period?
Whatever, I am grateful for your help and support.
David Yarwood
On Mon, 2011-05-16 at 19:56 +0000, Eliah Kagan wrote:
> Your question #156723 on update-manager in Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Eliah Kagan requested more information:
> Following step 1 of
> https:/
> is supposed to have the effect of replacing each instance of
> http://
> with http://
> some reason, it appears not to be working for some users. When you
> followed those instructions, did you actually select the main server, or
> did you just open up the Software Sources window but not actually make
> any change? (That seems to me like the mistake some users might be
> making.)
>
Revision history for this message
|
#17 |
It is not sufficient merely to open the Software Sources window. In fact, it should *not* ever be open when attempting to perform package management operations from the command-line.
You have to actually change the server. This is in the Ubuntu Software tab. There is a drop-down menu labeled "Download from:". See http://
Anyway, I guess that's moot now, because...
> when I started my netbook today, Update Manager opened and gave
> me the option to upgrade to 11.04 - which I accepted!
Well, cool!
> Do you think it was a result of the changes we have made, or is there
> an automatic fresh opportunity to upgrade after a set period?
Whenever there's a newer stable release than the one you're running, you should always be able to upgrade to in the Update Manager (or by upgrading all the packages on your system to their latest versions in your current release, and then running "sudo do-release-
So, there is no automatic fresh opportunity, because the opportunity is never supposed to go away.
As for whether or not it was the result of changes we made...I'm not sure. Do your recall when during this process the most recent time was that you ran the Update Manager and were *not* provided with the ability to upgrade?
Revision history for this message
|
#18 |
I suppose the last time I opened Update Manager was when you asked me to do it to change the server, but I didn't change anything, just left it open as I said.
Anyway, the upgrade seems to have happened successfully though I did happen to notice at one point during the "clean-up" that a line appeared in Terminal which said something like "failed to read mirror file". You said something on 13/05 about a mirror? I have no idea what a mirror is in this context. Do I need to do anything now or will the fresh installation have resolved any inherent problem?
Revision history for this message
|
#19 |
It doesn't look like what fixed it was anything you had done from my instructions. It seems most likely that whatever was causing the problem was fixed automatically by rebooting the machine. Usually, there are specific errors that indicate that rebooting might help; those did not occur in this case.
So I don't know. But I'm glad the upgrade was successful. You can check that the upgrade was successful by running:
lsb_release -d
That should tell you what release you are currently running. It is almost always correct.
When there are multiple servers hosting the same data, they are said to be mirrors of one another. See http://
If everything is working right now (as far as you can tell), you can mark this question as Solved. Otherwise, please post another reply with details of what's wrong (for example, if the output of "lsb_release -d" indicates you're still using the older release).
Revision history for this message
|
#20 |
The output of "lsb_release -d" was 11.04, so all seems OK.
Thanks again for the help.