Saturday, February 26, 2011

Error messages during updates

Are you getting error messages while trying to run:
apt-get update
?  Well here's a fix for ya.

This is the error I'm talking about specifically:
W:GPG error: hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7D2C7A23BF810CD5, W:GPG error: http://repository.cairo-dock.orgintrepid Release: The following signatures were invalid: NODATA 1 NODATA 2, W:Failed to fetch Sub-process /bin/bzip2 returned an error code (2) , E:Some index files failed to download, they have been ignored, or old ones used instead.
There are two commands that need to be ran in succession to fix this:
 gpg --keyserver --recv 7D2C7A23BF810CD5
gpg --export --armor 7D2C7A23BF810CD5 | sudo apt-key add -
That's all there is to it!


  1. That looks like a lot of work. must be because i'm a windows user and i use all default settings.

  2. Ah, I personally never had errors during updates. Lucky me.

  3. any idea how to repair broken parition table with linux?

  4. Thank goodness I haven't gotten any major errors so far. I really wouldn't know what to do?