![W:重复的 sources.list 条目 http://archive.canonical.com/ubuntu/ oneiric/partner i386 软件包](https://linux22.com/image/815242/W%EF%BC%9A%E9%87%8D%E5%A4%8D%E7%9A%84%20sources.list%20%E6%9D%A1%E7%9B%AE%20http%3A%2F%2Farchive.canonical.com%2Fubuntu%2F%20oneiric%2Fpartner%20i386%20%E8%BD%AF%E4%BB%B6%E5%8C%85%20.png)
可能重复:
如何修复 GPG 错误“NO_PUBKEY”?
每当我尝试使用从所有配置的源下载包信息时
sudo apt-get update
我得到:
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures could not be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0
(/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-i386_Packages)
可能是什么问题?
答案1
原因是这个公钥还没有被添加。
获取公钥。您的公钥为 5A9A06AEF9CB8DB0
现在通过在终端中输入此命令来添加它
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 5A9A06AEF9CB8DB0
现在更新它:
sudo apt-get update
来源:http://maketecheasier.com/fix-ubuntu-update-errors/2011/12/16