2

So recently I left my laptop unplugged for a few minutes, and since it has nearly zero battery, it cuts off without any graceful shutdown.

After turning it on, it says (via BIOS) that the clock was reset or something, so I went into the BIOS and set it to the correct time, and merrily booted up.

Filesystem check happened, etc, nothing else seemed to be off. The problem is that updating apt results in all my ppas having invalid signatures, and apt always warning me about unsigned packages when I install them.

I assume this is related to the clock resetting - nothing else seems to be out of place. Is there anyway to reset apt so that it will stop complaining about the signatures?

Mateo
  • 8,104

1 Answers1

4

Bad sig usually can be fixed by:

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
Ringtail
  • 16,127
  • Yes, perhaps a little searching would have done me well too:

    http://askubuntu.com/questions/1877/what-is-the-easiest-way-to-resolve-apt-get-badsig-gpg-errors

    – Zack Michener Feb 28 '12 at 05:10
  • @ZackMichener Please mark the answer solved if you feel it's right, else you could delete the question if you think its a duplicate of the one you linked to. Thanks :) – Nitin Venkatesh Feb 28 '12 at 06:18