update-manager -d not appearing after interrupted upgrade tp 9.10

Asked by Niloc Deeps

Hi, I'm running Ubuntu 9.04 and tried to upgrade to 9.10.
While I was doing this, the internet failed and I got a message saying this, and that "all files so far have been saved".
I'm trying to upgrade again now, but I can't get the distribution upgrade manager to come up.
I've tried "sudo update-manager -d" from the terminal , and also "update-manager -d" after pressing alt+F2.
I also get the following after checking for new updates -

GPG error: http://archive.canonical.com intrepid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>GPG error: http://th.archive.ubuntu.com intrepid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>GPG error: http://security.ubuntu.com intrepid-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>Failed to fetch http://ppa.launchpad.net/gasp-deb/ubuntu/dists/jaunty/main/binary-amd64/Packages 404 Not Found
Some index files failed to download, they have been ignored, or old ones used instead.

I didn't think Intrepid would have anything to do with 9.04 or 9.10.
Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager-core Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
zvacet (ivicakolic) said :
#1

I think something is wrong with your source list.Type in terminal

cat /etc/apt/sources.list

and post output here.

Revision history for this message
Sam_ (and-sam) said :
#2

Intrepid might be left over from previous upgrade to Jaunty and wasn't commented out with '#'.

Make sure other apps aren't running, like Synaptic, Software Center, update-manager and fix sources.list
If unsure you could create a 'clean' one.
http://repogen.simplylinux.ch/

Test and update:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get update
sudo apt-get upgrade

Clean up:
sudo apt-get clean
sudo apt-get autoremove

https://help.ubuntu.com/community/AptGet/Howto

Revision history for this message
Niloc Deeps (ajarncolin) said :
#3

Thanks for your replies. Sorry I haven't answered sooner, but I haven't been able to connect to the internet for a while.
I tried fixing the source list as stated by Sam, but it hasn't made any difference.
Here is the output of cat /etc/apt/sources.list:

colin@dhcppc9:~$ cat /etc/apt/sources.list
deb http://th.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb http://th.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted

## 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://archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty universe

## 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://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty multiverse

## 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://th.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://th.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## 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://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu/ jaunty-security restricted main multiverse universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates restricted main multiverse universe
deb http://ppa.launchpad.net/gasp-deb/ubuntu jaunty main # disabled on upgrade to jaunty
colin@dhcppc9:~$

Thanks
Colin

Revision history for this message
Niloc Deeps (ajarncolin) said :
#4

I also get a slightly different message on "checking for updates":

GPG error: http://archive.canonical.com intrepid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>Failed to fetch http://ppa.launchpad.net/gasp-deb/ubuntu/dists/jaunty/main/binary-amd64/Packages 404 Not Found
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-updates/main/binary-amd64/Packages.bz2 Hash Sum mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/binary-amd64/Packages.bz2 Hash Sum mismatch
Failed to fetch http://th.archive.ubuntu.com/ubuntu/dists/intrepid-updates/main/binary-amd64/Packages.bz2 Hash Sum mismatch
Some index files failed to download, they have been ignored, or old ones used instead.

Thanks

Revision history for this message
Niloc Deeps (ajarncolin) said :
#5

Sorry, I think I pressed the wrong button last time - I still need an answer!

Revision history for this message
Sam_ (and-sam) said :
#6

Please post output of:
lsb_release -a

uname -r

Revision history for this message
Niloc Deeps (ajarncolin) said :
#7

colin@dhcppc9:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.04
Release: 9.04
Codename: jaunty
colin@dhcppc9:~$

colin@dhcppc9:~$ uname -r
2.6.28-17-generic
colin@dhcppc9:~$

Thanks

Revision history for this message
Best Sam_ (and-sam) said :
#8

Thanks. Output indicates no update to 9.10 so far.

#1
Since your sources.list still contents intrepid and others, I'd simply delete the whole content in order to create a 'clean' one and to achieve a fully updated 9.04.
If 9.04 is updated properly update-manager should present automatically an upgrade to 9.10.
Actually there is no need for 'update-manager -d', if the settings are 'normal releases' in system administration -> software sources.
https://help.ubuntu.com/community/Repositories/Ubuntu?action=AttachFile&do=get&target=Updates.png
https://help.ubuntu.com/community/Repositories/Ubuntu
https://help.ubuntu.com/community/SynapticHowto

#btw. for the future keep in mind, backports, third party repositories may cause upgrade issues.

#2
Maybe internet connection issues occur because of thai server.
Is it possible for you to switch to 'main server'?
https://help.ubuntu.com/community/Repositories/Ubuntu?action=AttachFile&do=get&target=Sources4.png

Examples:
Lets say you'd like to get repositories from thai server a 'clean' sources.list may content this and nothing else:

#### OFFICIAL UBUNTU REPOS ####

###### Ubuntu Main Repos
deb http://th.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse

###### Ubuntu Update Repos
deb http://th.archive.ubuntu.com/ubuntu/ jaunty-security main restricted universe multiverse
deb http://th.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse

In case you'd like to keep your current sources.list it needs a little modification and the content may look exactly like this:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
#deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates restricted main multiverse universe

## 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://archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty universe

## 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://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty multiverse

## 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://archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## 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://archive.canonical.com/ jaunty partner
#deb-src http://archive.canonical.com/ jaunty partner

deb http://security.ubuntu.com/ubuntu/ jaunty-security restricted main multiverse universe
#deb http://ppa.launchpad.net/gasp-deb/ubuntu jaunty main # disabled on upgrade to jaunty

(Above sources.list implies that 'main server' is elected in 'software sources'.)
Command to open and edit sources.list:
gksudo gedit /etc/apt/sources.list

After you've created your favourite sources.list, make sure neither GUI, update-manager or Synaptic, is running.
Try this to fully update 9.04 first and in case post any error message.
sudo apt-get update
sudo apt-get upgrade

In case of errors:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install

Clean up the cache:
sudo apt-get clean
sudo apt-get autoremove

# If uncertain and before creating more issues please don't hesitate to ask.

Revision history for this message
Niloc Deeps (ajarncolin) said :
#9

Done! Thank you very much indeed.
Colin