problem with apt-get update ubuntu 11.10

现象1:
W: GPG error: http://archive.ubuntu.com oneiric-backports InRelease: File /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-backports_InRelease doesn't start with a clearsigned message
W: GPG error: http://archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Conflicting distribution: http://archive.ubuntu.com oneiric-security Release (expected oneiric-security but got oneiric)
W: Conflicting distribution: http://archive.ubuntu.com oneiric-updates Release (expected oneiric-updates but got oneiric)
E: GPG error: http://archive.ubuntu.com oneiric-proposed Release: The following signatures were invalid: NODATA 1 NODATA 2
现象2:
W: GPG error: http://ubuntu.cn99.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: http://ubuntu.cn99.com oneiric-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: http://ubuntu.cn99.com oneiric-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Conflicting distribution: http://ubuntu.cn99.com oneiric-proposed Release (expected oneiric-proposed but got oneiric)
E: GPG error: http://ubuntu.cn99.com oneiric-backports Release: The following signatures were invalid: NODATA 1 NODATA 2
how to sovle ?
follow me!
 


In the Authentication tab, remove the "Ubuntu Archive Automatic Signing" entry.


Import the key:
Code:


sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 437D05B5


Update:
Code:


sudo apt-get update


root@ubuntu:/etc/apt#  apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 437D05B5

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.HDg4FwFAFK --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
root@ubuntu:/etc/apt# apt-get update


同时也需要在

 


root@ubuntu:/etc/apt#  apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 437D05B5
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.HDg4FwFAFK --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys 437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
gpg: key 437D05B5: public key "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
root@ubuntu:/etc/apt# apt-get update
Ign http://ubuntu.cn99.com oneiric InRelease
Ign http://ubuntu.cn99.com oneiric-security InRelease
Ign http://ubuntu.cn99.com oneiric-updates InRelease
Get:1 http://ubuntu.cn99.com oneiric Release.gpg [198 B]
Get:2 http://ubuntu.cn99.com oneiric-security Release.gpg [198 B]
Get:3 http://ubuntu.cn99.com oneiric-updates Release.gpg [198 B]
Get:4 http://ubuntu.cn99.com oneiric Release [40.8 kB]
Get:5 http://ubuntu.cn99.com oneiric-security Release [40.8 kB]
Get:6 http://ubuntu.cn99.com oneiric-updates Release [40.8 kB]
Hit http://ubuntu.cn99.com oneiric/universe amd64 Packages  
Hit http://ubuntu.cn99.com oneiric/main amd64 Packages
Hit http://ubuntu.cn99.com oneiric/restricted amd64 Packages
Hit http://ubuntu.cn99.com oneiric/universe i386 Packages
Hit http://ubuntu.cn99.com oneiric/main i386 Packages
Hit http://ubuntu.cn99.com oneiric/restricted i386 Packages
Hit http://ubuntu.cn99.com oneiric/main TranslationIndex
Hit http://ubuntu.cn99.com oneiric/restricted TranslationIndex
Hit http://ubuntu.cn99.com oneiric/universe TranslationIndex
Hit http://ubuntu.cn99.com oneiric-security/universe amd64 Packages
Hit http://ubuntu.cn99.com oneiric-security/main amd64 Packages
Hit http://ubuntu.cn99.com oneiric-security/restricted amd64 Packages
Hit http://ubuntu.cn99.com oneiric-security/universe i386 Packages
Hit http://ubuntu.cn99.com oneiric-security/main i386 Packages
Hit http://ubuntu.cn99.com oneiric-security/restricted i386 Packages
Hit http://ubuntu.cn99.com oneiric-security/main TranslationIndex
Hit http://ubuntu.cn99.com oneiric-security/restricted TranslationIndex
Hit http://ubuntu.cn99.com oneiric-security/universe TranslationIndex
Hit http://ubuntu.cn99.com oneiric-updates/universe amd64 Packages
Hit http://ubuntu.cn99.com oneiric-updates/main amd64 Packages
Hit http://ubuntu.cn99.com oneiric-updates/restricted amd64 Packages
Hit http://ubuntu.cn99.com oneiric-updates/universe i386 Packages
Hit http://ubuntu.cn99.com oneiric-updates/main i386 Packages
Hit http://ubuntu.cn99.com oneiric-updates/restricted i386 Packages
Hit http://ubuntu.cn99.com oneiric-updates/main TranslationIndex
Hit http://ubuntu.cn99.com oneiric-updates/restricted TranslationIndex
Hit http://ubuntu.cn99.com oneiric-updates/universe TranslationIndex
Hit http://ubuntu.cn99.com oneiric/main Translation-en
Hit http://ubuntu.cn99.com oneiric/restricted Translation-en
Hit http://ubuntu.cn99.com oneiric/universe Translation-en
Hit http://ubuntu.cn99.com oneiric-security/main Translation-en
Hit http://ubuntu.cn99.com oneiric-security/restricted Translation-en
Hit http://ubuntu.cn99.com oneiric-security/universe Translation-en
Hit http://ubuntu.cn99.com oneiric-updates/main Translation-en
Hit http://ubuntu.cn99.com oneiric-updates/restricted Translation-en
Hit http://ubuntu.cn99.com oneiric-updates/universe Translation-en
Fetched 123 kB in 14s (8,289 B/s)
Reading package lists... Done


转载于:https://www.cnblogs.com/yuzaipiaofei/archive/2012/02/19/4124266.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值