Package Manager & Update Manager problems
While updating using Update Manager, my wireless connection dropped out. Attempted Update Manager again, no go. Same for apt-get update.
In Terminal:
Code:
Fetched 1,576 B in 14s (111 B/s)
Reading package lists... Error!
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: http://planet76.com ./ Release: The following signatures were invalid: BADSIG 176A5C84ED67C9ED System76 Development (System76 Development Package Signing Key) <dev@system76.com>
W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
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 EFD5FA852F20733F
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://us.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://us.archive.ubuntu.com precise-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://us.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/Release
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
I tried to report a bug using ubuntu-bug package-manager, but that didn't work either (unable to determine package)
I'm at a loss what to do next, so help will be appreciated.
Re: Package Manager & Update Manager problems
Does executing these commands help?
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
This will rebuild the cache.
If it doesn't help, this forum post has additional suggestions:
http://ubuntuforums.org/showthread.php?t=1869890
Re: Package Manager & Update Manager problems
I would start with grabbing the missing keys, here is the first missing one add the key to the code per missing key.
Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 176A5C84ED67C9ED
Do this with every missing key then run a update to see if you have all set.
The link from above suggests this as well as some other methods check out drs305's posts.
Re: Package Manager & Update Manager problems
OK, I've found part of my problem. The wireless internet provider where I'm staying kicks you off-line if you use too much data (like updates). My other data connection is through my Verizon cell phone, which currently seems to be throttled down to the point of unusability for updates. I guess I'll have to go somewhere where I can get a decent data connection before I can do anything more. I'll check back when I can get this sorted.
Thanks for the input wilee-nilee & 2F4U.
Re: Package Manager & Update Manager problems
Before packing everything up in search of a decent data connection, I got the phone number for tech support for the wireless network I'm using. I explained that I use Ubuntu Linux, that I'm having trouble completing an update because I keep getting kicked off the wireless system and could he please help. I gave him my MAC address and he reset the wireless system from his end as well as removing the requirement for me to log-in to the wireless system.
I tried grabbing the missing keys as wilee-nilee suggested,but there must have been more wrong than that would fix. So I rebuilt the cache as 2F4U suggested and that seems to have sorted everything.
This is why I've used Ubuntu for years...the community is just unsurpassed in helpfulness.
Thank you for your help!
Re: Package Manager & Update Manager problems
Quote:
Originally Posted by
2F4U
Does executing these commands help?
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
This will rebuild the cache.
If it doesn't help, this forum post has additional suggestions:
http://ubuntuforums.org/showthread.php?t=1869890
Thanks 2F4U! I had the same problem and this fixed it.
Re: Package Manager & Update Manager problems
Hi i am facing the same problem on ubuntu 12.04
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082CCEDF94558F59
W: GPG error: http://kz.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
i did this
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
and this
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 082CCEDF94558F59 40976EAF437D05B5
and got
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.aaN7ANuRBd --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 082CCEDF94558F59 40976EAF437D05B5
gpg: requesting key 94558F59 from hkp server keyserver.ubuntu.com
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpgkeys: key 082CCEDF94558F59 not found on keyserver
gpgkeys: key 40976EAF437D05B5 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
Why can't it find the key?
Re: Package Manager & Update Manager problems
hey folks,
I had the same bad-sig error, and this bunch of commands helped get my update manager up and going... hth... :)
sudo -i
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update
-abhi
P.S: a previous comment already had the third command onwards, but that was still throwing back the error... a clean helped and then everything got back to normal... :)
Re: Package Manager & Update Manager problems
thank you, did everything above
GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082CCEDF94558F59
W: GPG error: http://kz.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Failed to fetch http://archive.canonical.com/ubuntu/...amd64/Packages Bad header line
W: Failed to fetch http://archive.canonical.com/ubuntu/...-i386/Packages Bad header line
W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_universe_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_oneiric-proposed_main_binary-amd64_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
Re: Package Manager & Update Manager problems
Quote:
Originally Posted by
teriyaki-89
thank you, did everything above
GPG error:
http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082CCEDF94558F59
W: GPG error:
http://kz.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Failed to fetch
http://archive.canonical.com/ubuntu/...amd64/Packages Bad header line
W: Failed to fetch
http://archive.canonical.com/ubuntu/...-i386/Packages Bad header line
W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_universe_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_oneiric-proposed_main_binary-amd64_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
For the bad-sig problem, you need to adjust the key command to match the key you need. In your case, the command would be:
Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
For the other problems, I would recommend running all of the above commands again:
Code:
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
(note that using "sudo" before each command is slightly safer, and preferable. You'll only need to type your password once anyway.)