现象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