apt-get源缺少公钥无法验证

W: GPG 错误:http://mirrors.sohu.com karmic Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY 40976EAF437D05B5
W: GPG 错误:http://mirrors.sohu.com karmic-updates Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY 40976EAF437D05B5

解决:

gpg --keyserver subkeys.pgp.net --recv 40976EAF437D05B5

gpg --export --armor 40976EAF437D05B5|sudo apt-key add -

附搜狐的源:

deb http://mirrors.sohu.com/ubuntu/ karmic main restricted
deb-src http://mirrors.sohu.com/ubuntu/ karmic main restricted

deb http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted
deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates main restricted

deb http://mirrors.sohu.com/ubuntu/ karmic universe
deb-src http://mirrors.sohu.com/ubuntu/ karmic universe

deb http://mirrors.sohu.com/ubuntu/ karmic-updates universe
deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates universe

deb http://mirrors.sohu.com/ubuntu/ karmic multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic multiverse

deb http://mirrors.sohu.com/ubuntu/ karmic-updates multiverse
deb-src http://mirrors.sohu.com/ubuntu/ karmic-updates multiverse

你可能感兴趣的:(职场,公钥,apt-get,休闲,sohu源)