update manager error

Asked by Muhammad Khurrum Butt on 2010-07-09

i'm new i don know what to do this is the error i'm getting plz help

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Err http://archive.ubuntu.com lucid-security/universe Sources
 Sub-process /bin/bzip2 returned an error code (2)
Hit http://archive.ubuntu.com lucid-security/multiverse Packages
Get:4 http://archive.ubuntu.com lucid-security/multiverse Sources [580B]
Fetched 1,530B in 5s (303B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-security/universe/source/Sources.bz2 Sub-process /bin/bzip2 returned an error code (2)

W: Some index files failed to download, they have been ignored, or old ones used instead.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2010-08-17
Last query:
2010-08-17
Last reply:
2010-07-12

sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 437D05B5

Should do it

No it did not work giving me this error

Err http://archive.ubuntu.com lucid-security/universe Sources
  Sub-process /bin/bzip2 returned an error code (2)
Get:7 http://archive.ubuntu.com lucid-security/multiverse Packages [1,668B]
Get:8 http://archive.ubuntu.com lucid-security/multiverse Sources [580B]
Fetched 49.1kB in 6s (8,042B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-security/universe/source/Sources.bz2 Sub-process /bin/bzip2 returned an error code (2)

W: Some index files failed to download, they have been ignored, or old ones used instead.

sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 437D05B5
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver pgp.mit.edu --recv-keys 437D05B5
gpg: requesting key 437D05B5 from hkp server pgp.mit.edu
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <email address hidden>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.

gpg --recv-keys 40976EAF437D05B5; gpg --export –armor 40976EAF437D05B5 | sudo apt-key add -

Try that.

Thanks actionparsnip, that solved my question.