[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt-Get Suggestion



Hi!
This is a little code to update the apt's keyring...

apt-get update 2>&1 1> /dev/null | grep NO_PUBKEY | awk '{cmd="gpg --keyserver wwwkeys.eu.pgp.net --recv-keys " $NF " && apt-key add /root/.gnupg/pubring.gpg"; system(cmd)}'

--
Best whishes!!
Barreras



Reply to: