[SOLVED] “BADSIG 40976EAF437D05B5” when reloading package lists in Synaptic/apt/update-manager in Ubuntu 10.04 Lucid Lynx

[ad#ad-1]I am using Ubuntu 10.04 Lucid Lynx Beta 1 and got the following set of warnings while updating my package lists

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 Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/Release  
W: Some index files failed to download, they have been ignored, or old ones used instead.

This was preventing the package list updates and hence preventing package updates. I don’t know what caused this or when exactly I started to get these, but I guess it was after I changed my packages server from np.archive.ubuntu.com to archive.ubuntu.com.

Anyways, I managed to fix it by (re)moving all the old package lists and updating again. This can be summed up in the following three lines of terminal commands:

sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get update

This did it for me. Hope it does it for you too.

  • admin

    UPDATE: I got these again after sometime and again did the same. It seemed to work for a couple of times, every few days. But now it is not working. Of course, changing the repository to some other server (Synaptic>Settings>Repositories>Download From.. some other server than what is selected and reload) might solve it for a while. But it may re-appear again. Please follow the bug here: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/33505

  • xjsrvaeenbyashdaumyt, zaposlitev, PTEiWWf.