Import PGP keys to resolve NO_PUBKEY issue Mar 27, 2012 • Jay aptitude update 2>&1 > /dev/null | grep NO_PUBKEY | sed 's/^.*NO_PUBKEY //g' | xargs -L 1 gpg --keyserver keyserver.ubuntu.com --recv-keys; gpg --armor --export | apt-key add -