automatic missing key adding for apt-get
January 9th, 2008 at 9:49am |
in order to automatically download missing authentication keys for third party apt-get repositories I suggest a handy script published by Trevino (I haven’t tested it yet though).
sudo apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "\nProcessing key: $key"; sudo gpg --keyserver subkeys.pgp.net --recv $key && sudo gpg --export --armor $key | sudo apt-key add -; done
Related posts:
- Adding the key of a launchpad PPA repository
- update VirtualBox signing key 54422A4B98AB5139
- cannot update initrd image due to missing kernel
- une-gconf-default gconf file missing error while updating
- WordPress 2.5 automatic plugin upgrade error
Print This Post
|
Email This Post