Error while reloading package manager

Taking care of your Linux box.
Post Reply
Muhammad Saad
Battalion Havaldaar Major
Posts: 273
Joined: Sat Jan 27, 2007 11:07 pm
Location: Dera Ismail Khan, Pakistan
Contact:

Error while reloading package manager

Post by Muhammad Saad »

Assalam o Alaikum,

Yesterday, while I was reloading Synaptic, the process was interrupted because of power outage (واپڈا کی جے ہو!). Now whenever I reload Synaptic, I get this error:

Code: Select all

W: GPG error: http://security.ubuntu.com hardy-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
The first thought that comes to my mind is that it might be fixed by reconfiguring some package. But I am not sure and even if this is the case, I do not know which package should be reconfigured.

Can anyone help?
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Muhammad Saad,
Salam,

It is GPG Error.

FYI, http://ubuntuforums.org/showthread.php?t=75813 and http://www.linuxquestions.org/questions ... did=373441

Best Regards.
Farrukh Ahmed
Muhammad Saad
Battalion Havaldaar Major
Posts: 273
Joined: Sat Jan 27, 2007 11:07 pm
Location: Dera Ismail Khan, Pakistan
Contact:

Post by Muhammad Saad »

Thank you Farrukh bhai for your reply. But I have already found a solution that worked for me.
Since the problem had started after a power failure, therefore it was clear that the most probable reason for this error was some corrupted files.

So I opened Synaptic, selected "Repositories" from "Settings" menu and disabled all the repositories. Then I clicked the "Restore Defaults" button in the "Authentication" tab. Then I reloaded the package manager in order to make sure that the cache was completely deleted, re-enabled the repositories and reloaded again.
And the problem was gone. :)

The only problem now is that the download server has been set to main server and I cannot find out the server for Pakistan in the list. But since I am a dial-up user, therefore it is not going to effect me too much. 8)
Post Reply