我的 ubuntu 上的包管理器错误

我的 ubuntu 上的包管理器错误

我的 ubuntu apt-get 更新有这个问题 http://pastebin.com/embed_js.php?i=Ex18v2Ku

ubilli@ubilli-pc ~> sudo apt-get update
[sudo] password for ubilli:
Ign http://ppa.launchpad.net precise InRelease                                
Ign http://ppa.launchpad.net precise InRelease                                
Ign http://ppa.launchpad.net precise InRelease  
.    
.
.
Ign http://ppa.launchpad.net precise/main Translation-en                      
Hit http://us.archive.ubuntu.com saucy-updates/universe Translation-en        
Fetched 459 kB in 25s (17.7 kB/s)                                              
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn\'t be verified because the public key is not available: NO_PUBKEY D1106511179518B2
W: There is no public key available for the following key IDs:
3B4FE6ACC0B21F32
W: There is no public key available for the following key IDs:
3B4FE6ACC0B21F32

答案1

您缺少密钥,apt 无法验证存储库。运行此命令来修复它:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32

答案2

运行这个:

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update

[更新]

跑步:

gpg --recv-keys 3B4FE6ACC0B21F32

然后:

gpg --export 3B4FE6ACC0B21F32 | apt-key add --

相关内容