Update manager not working

Asked by Budmaester on 2012-11-14

Get:8 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:9 http://archive.canonical.com precise Release.gpg [198 B]
Ign http://us.archive.ubuntu.com precise Release
Get:10 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Hit http://archive.canonical.com natty Release
Ign http://extras.ubuntu.com precise Release
Ign http://archive.canonical.com natty Release
Ign http://us.archive.ubuntu.com precise/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/restricted Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/restricted i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/multiverse i386 Packages/DiffIndex
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.canonical.com precise Release
Ign http://extras.ubuntu.com precise/main i386 Packages/DiffIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:11 http://us.archive.ubuntu.com precise-updates/main Sources [187 kB]
Ign http://archive.canonical.com precise Release
Ign http://extras.ubuntu.com precise/main TranslationIndex
Ign http://archive.canonical.com natty/partner i386 Packages/DiffIndex
Ign http://archive.canonical.com natty/partner TranslationIndex
Get:12 http://security.ubuntu.com precise-security/main Sources [54.6 kB]
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://archive.canonical.com precise/partner i386 Packages/DiffIndex
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:13 http://us.archive.ubuntu.com precise-updates/restricted Sources [4,419 B]
Get:14 http://us.archive.ubuntu.com precise-updates/universe Sources [61.6 kB]
Get:15 http://us.archive.ubuntu.com precise-updates/multiverse Sources [4,241 B]
Get:16 http://us.archive.ubuntu.com precise-updates/main i386 Packages [433 kB]
Hit http://archive.canonical.com natty/partner i386 Packages
Get:17 http://security.ubuntu.com precise-security/restricted Sources [1,950 B]
Get:18 http://security.ubuntu.com precise-security/universe Sources [15.8 kB]
Get:19 http://security.ubuntu.com precise-security/multiverse Sources [1,392 B]
Get:20 http://security.ubuntu.com precise-security/main i386 Packages [201 kB]
Hit http://archive.canonical.com precise/partner i386 Packages
Get:21 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [8,374 B]
Get:22 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [153 kB]
Get:23 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [9,661 B]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main Translation-en
Get:24 http://us.archive.ubuntu.com precise-backports/main Sources [2,422 B]
Get:25 http://security.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
Get:26 http://security.ubuntu.com precise-security/universe i386 Packages [54.9 kB]
Get:27 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:28 http://us.archive.ubuntu.com precise-backports/universe Sources [17.7 kB]
Get:29 http://us.archive.ubuntu.com precise-backports/multiverse Sources [2,669 B]
Get:30 http://us.archive.ubuntu.com precise-backports/main i386 Packages [1,941 B]
Get:31 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:32 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [16.2 kB]
Get:33 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [2,504 B]
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Get:34 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,388 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en_US
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://archive.canonical.com natty/partner Translation-en_US
Ign http://archive.canonical.com natty/partner Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Fetched 1,391 kB in 3s (384 kB/s)
Reading package lists... Done
W: GPG error: http://us.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <email address hidden>
W: GPG error: http://archive.canonical.com natty Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
bud@bud-1005PE:~$

How do I resolve this? I have tried using command line as well.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-11-15
Last query:
2012-11-15
Last reply:
2012-11-15
N1ck 7h0m4d4k15 (nicktux) said : #1

Hi ,
from command line give these commands

~$ sudo apt-key update
~$ sudo apt-get update ; sudo apt-get dist-upgrade

Resolved ?

IF NOT , then add keys manually with bellow commands (Copy-paste commands from here to terminal for more accuracy)

~$ sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5
~$ sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 16126D3A3E5C1192
~$ sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5
~$ sudo apt-get udpate ; sudo apt-get dist-upgrade

Now should be smooth.

Thanks

If you add PPAs using:

sudo add-apt-repository ppa:address

YOu will add the PPA and the key.

Budmaester (budmaester) said : #3

Solution 1: results not fixed

bud@bud-1005PE:/$ sudo apt-get update
Ign http://dl.google.com stable InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise Release.gpg [198 B]
Get:3 http://dl.google.com stable Release.gpg [198 B]
Get:4 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://dl.google.com stable Release
Hit http://us.archive.ubuntu.com precise Release
Ign http://dl.google.com stable Release
Ign http://us.archive.ubuntu.com precise Release
Get:5 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://dl.google.com stable Release
Ign http://dl.google.com stable Release
Ign http://us.archive.ubuntu.com precise/main Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/restricted Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/universe Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/multiverse Sources/DiffIndex
Ign http://us.archive.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/restricted i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com precise/multiverse i386 Packages/DiffIndex
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Ign http://dl.google.com stable/main i386 Packages/DiffIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:6 http://us.archive.ubuntu.com precise-updates/main Sources [187 kB]
Ign http://dl.google.com stable/main TranslationIndex
Ign http://dl.google.com stable/main i386 Packages/DiffIndex
Ign http://dl.google.com stable/main TranslationIndex
Hit http://dl.google.com stable/main i386 Packages
Get:7 http://us.archive.ubuntu.com precise-updates/restricted Sources [4,419 B]
Get:8 http://us.archive.ubuntu.com precise-updates/universe Sources [61.6 kB]
Get:9 http://us.archive.ubuntu.com precise-updates/multiverse Sources [4,241 B]
Get:10 http://us.archive.ubuntu.com precise-updates/main i386 Packages [433 kB]
Hit http://dl.google.com stable/main i386 Packages
Get:11 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [8,374 B]
Get:12 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [153 kB]
Get:13 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [9,661 B]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://extras.ubuntu.com precise InRelease
Get:14 http://extras.ubuntu.com precise Release.gpg [72 B]
Hit http://extras.ubuntu.com precise Release
Ign http://extras.ubuntu.com precise Release
Ign http://extras.ubuntu.com precise/main Sources/DiffIndex
Ign http://extras.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://extras.ubuntu.com precise/main Sources
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://security.ubuntu.com precise-security InRelease
Get:15 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:16 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:17 http://security.ubuntu.com precise-security/main Sources [54.6 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en
Get:18 http://security.ubuntu.com precise-security/restricted Sources [1,950 B]
Get:19 http://security.ubuntu.com precise-security/universe Sources [15.8 kB]
Get:20 http://security.ubuntu.com precise-security/multiverse Sources [1,392 B]
Get:21 http://security.ubuntu.com precise-security/main i386 Packages [201 kB]
Get:22 http://security.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
Get:23 http://security.ubuntu.com precise-security/universe i386 Packages [54.9 kB]
Get:24 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,388 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://archive.canonical.com natty InRelease
Ign http://archive.canonical.com precise InRelease
Get:25 http://archive.canonical.com natty Release.gpg [198 B]
Get:26 http://archive.canonical.com precise Release.gpg [198 B]
Hit http://archive.canonical.com natty Release
Ign http://archive.canonical.com natty Release
Hit http://archive.canonical.com precise Release
Ign http://archive.canonical.com precise Release
Ign http://archive.canonical.com natty/partner Sources/DiffIndex
Ign http://archive.canonical.com natty/partner i386 Packages/DiffIndex
Ign http://archive.canonical.com natty/partner TranslationIndex
Ign http://archive.canonical.com precise/partner Sources/DiffIndex
Ign http://archive.canonical.com precise/partner i386 Packages/DiffIndex
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://archive.canonical.com natty/partner Sources
Hit http://archive.canonical.com natty/partner i386 Packages
Hit http://archive.canonical.com precise/partner Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com natty/partner Translation-en_US
Ign http://archive.canonical.com natty/partner Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://ppa.launchpad.net precise InRelease
Get:27 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Fetched 1,299 kB in 18s (71.9 kB/s)
Reading package lists... Done
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://us.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <email address hidden>
W: GPG error: http://archive.canonical.com natty Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6D975C4791E7EE5E
bud@bud-1005PE:/

Solition 2: Not fixed

key1:
bud@bud-1005PE:/$ sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.FP7vJpa1zX --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

key2:
bud@bud-1005PE:/$ sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.FP7vJpa1zX --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
bud@bud-1005PE:/$ sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 16126D3A3E5C1192

key3:
bud@bud-1005PE:/$ sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.FP7vJpa1zX --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
bud@bud-1005PE:/$ sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 16126D3A3E5C1192sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 40976EAF437D05B5

getting same results. Is there a fle that can rename and create a new key file?

cd $HOME
wget https://dl.dropbox.com/u/8850924/fixpackage
chmod +x ./fixpackage
sudo ./fixpackage

N1ck 7h0m4d4k15 (nicktux) said : #5

Also you can delete the keys and add them again ..

~$ gksudo software-properties-gtk

Go to "Authentication" tab and delete any keys related with your problem.

Then to import again the Ubuntu original keys you can do

~$ sudo apt-key update

and try again

~$ sudo apt-get update

Thanks

Budmaester (budmaester) said : #7

Hello Andrew:

This solved problem and fixed the update program. I am trying to learn Linux/Ubuntu command stuff to diagnose problems. Using a Sobell book and launchpad.net. Any other tools you can suggest will be appreciated.

Thanks for your help.

Bud Heinbaugh

I suggest consulting the guides here:

https://help.ubuntu.com/community/ExternalGuides