我是 Ubuntu 新手,当我执行
sudo apt-get update
我收到以下错误和警告
W: GPG error: http://ppa.launchpad.net quantal Release: The following
signatures couldn't be verified because the public key is not
available: NO_PUBKEY 5A9A06AEF9CB8DB0 W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/quantal-security/Release.gpg
Something wicked happened resolving 'security.ubuntu.com:http' (-5 -
No address associated with hostname)
W: Failed to fetch
http://extras.ubuntu.com/ubuntu/dists/quantal/Release.gpg Something
wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address
associated with hostname)
W: Failed to fetch
http://packages.medibuntu.org/dists/quantal/Release.gpg Something
wicked happened resolving 'packages.medibuntu.org:http' (-5 - No
address associated with hostname)
E: Some index files failed to download. They have been ignored, or old
ones used instead.
谁能告诉我出了什么问题?
答案1
对于带有签名的错误:
sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 5A9A06AEF9CB8DB0
sudo gpg --armor --export 5A9A06AEF9CB8DB0 | sudo apt-key add -
然后,sudo apt-get update sudo apt-get upgrade
您需要这样做的原因是,您在 sources.list 中添加了 PPA,但是不信任它用于签署软件包的密钥。
答案2
根据http://forums.linuxmint.com/viewtopic.php?f=90&t=147271medibuntu 团队已宣布退出。只需进入“软件源”>“其他软件”并取消选中“http://packages.medibuntu.org/“