我正在尝试使用 sudo apt-get update 进行更新。
接收 BADSIG 错误。
Get:1 http://us.archive.ubuntu.com raring Release.gpg [933 B]
Hit http://extras.ubuntu.com raring Release.gpg
Hit http://security.ubuntu.com raring-security Release.gpg
Get:2 http://us.archive.ubuntu.com raring-updates Release.gpg [933 B]
Hit http://extras.ubuntu.com raring Release
Hit http://security.ubuntu.com raring-security Release
Hit http://us.archive.ubuntu.com raring-backports Release.gpg
Hit http://extras.ubuntu.com raring/main Sources
Hit http://us.archive.ubuntu.com raring Release
Hit http://security.ubuntu.com raring-security/main Sources
Ign http://us.archive.ubuntu.com raring Release
Hit http://extras.ubuntu.com raring/main amd64 Packages
Get:3 http://us.archive.ubuntu.com raring-updates Release [40.8 kB]
Hit http://security.ubuntu.com raring-security/restricted Sources
Hit http://extras.ubuntu.com raring/main i386 Packages
Hit http://security.ubuntu.com raring-security/universe Sources
Hit http://security.ubuntu.com raring-security/multiverse Sources
Hit http://security.ubuntu.com raring-security/main amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports Release
Ign http://us.archive.ubuntu.com raring/main Sources/DiffIndex
Hit http://security.ubuntu.com raring-security/restricted amd64 Packages
Ign http://us.archive.ubuntu.com raring/restricted Sources/DiffIndex
Hit http://security.ubuntu.com raring-security/universe amd64 Packages
Ign http://us.archive.ubuntu.com raring/universe Sources/DiffIndex
Hit http://security.ubuntu.com raring-security/multiverse amd64 Packages
Ign http://us.archive.ubuntu.com raring/multiverse Sources/DiffIndex
Hit http://security.ubuntu.com raring-security/main i386 Packages
Ign http://us.archive.ubuntu.com raring/main amd64 Packages/DiffIndex
Hit http://security.ubuntu.com raring-security/restricted i386 Packages
Ign http://us.archive.ubuntu.com raring/restricted amd64 Packages/DiffIndex
Ign http://us.archive.ubuntu.com raring/universe amd64 Packages/DiffIndex
Ign http://extras.ubuntu.com raring/main Translation-en_US
Hit http://security.ubuntu.com raring-security/universe i386 Packages
Ign http://us.archive.ubuntu.com raring/multiverse amd64 Packages/DiffIndex
Ign http://extras.ubuntu.com raring/main Translation-en
Hit http://security.ubuntu.com raring-security/multiverse i386 Packages
Ign http://us.archive.ubuntu.com raring/main i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com raring/restricted i386 Packages/DiffIndex
Hit http://security.ubuntu.com raring-security/main Translation-en
Ign http://us.archive.ubuntu.com raring/universe i386 Packages/DiffIndex
Ign http://us.archive.ubuntu.com raring/multiverse i386 Packages/DiffIndex
Hit http://security.ubuntu.com raring-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring/main Translation-en
Hit http://security.ubuntu.com raring-security/restricted Translation-en
Hit http://us.archive.ubuntu.com raring/multiverse Translation-en
Hit http://security.ubuntu.com raring-security/universe Translation-en
Hit http://us.archive.ubuntu.com raring/restricted Translation-en
Hit http://us.archive.ubuntu.com raring/universe Translation-en
Get:4 http://us.archive.ubuntu.com raring-updates/main Sources [14.0 kB]
Get:5 http://us.archive.ubuntu.com raring-updates/restricted Sources [14 B]
Get:6 http://us.archive.ubuntu.com raring-updates/universe Sources [9,167 B]
Get:7 http://us.archive.ubuntu.com raring-updates/multiverse Sources [697 B]
Get:8 http://us.archive.ubuntu.com raring-updates/main amd64 Packages [42.5 kB]
Ign http://security.ubuntu.com raring-security/main Translation-en_US
Get:9 http://us.archive.ubuntu.com raring-updates/restricted amd64 Packages [14 B]
Get:10 http://us.archive.ubuntu.com raring-updates/universe amd64 Packages [29.6 kB]
Ign http://security.ubuntu.com raring-security/multiverse Translation-en_US
Ign http://security.ubuntu.com raring-security/restricted Translation-en_US
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Get:11 http://us.archive.ubuntu.com raring-updates/multiverse amd64 Packages [1,164 B]
Get:12 http://us.archive.ubuntu.com raring-updates/main i386 Packages [42.0 kB]
Get:13 http://us.archive.ubuntu.com raring-updates/restricted i386 Packages [14 B]
Get:14 http://us.archive.ubuntu.com raring-updates/universe i386 Packages [29.9 kB]
Get:15 http://us.archive.ubuntu.com raring-updates/multiverse i386 Packages [1,389 B]
Hit http://us.archive.ubuntu.com raring-updates/main Translation-en
Hit http://us.archive.ubuntu.com raring-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com raring-updates/universe Translation-en
Hit http://us.archive.ubuntu.com raring-backports/main Sources
Hit http://us.archive.ubuntu.com raring-backports/restricted Sources
Hit http://us.archive.ubuntu.com raring-backports/universe Sources
Hit http://us.archive.ubuntu.com raring-backports/multiverse Sources
Hit http://us.archive.ubuntu.com raring-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/main i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/main Translation-en
Hit http://us.archive.ubuntu.com raring-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com raring-backports/universe Translation-en
Hit http://us.archive.ubuntu.com raring/main Sources
Hit http://us.archive.ubuntu.com raring/restricted Sources
Hit http://us.archive.ubuntu.com raring/universe Sources
Hit http://us.archive.ubuntu.com raring/multiverse Sources
Hit http://us.archive.ubuntu.com raring/main amd64 Packages
Hit http://us.archive.ubuntu.com raring/restricted amd64 Packages
Hit http://us.archive.ubuntu.com raring/universe amd64 Packages
Hit http://us.archive.ubuntu.com raring/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com raring/main i386 Packages
Hit http://us.archive.ubuntu.com raring/restricted i386 Packages
Hit http://us.archive.ubuntu.com raring/universe i386 Packages
Hit http://us.archive.ubuntu.com raring/multiverse i386 Packages
Ign http://us.archive.ubuntu.com raring/main Translation-en_US
Ign http://us.archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring/universe Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/main Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/universe Translation-en_US
Fetched 213 kB in 17s (12.4 kB/s)
Reading package lists... Done
W: GPG error: http://us.archive.ubuntu.com raring Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
我该如何解决?
还会出现有关在 ubuntu 软件中心安装不受信任的软件包的安装错误。
“需要安装不受信任的软件包”
libgconf2-4 libxss1
安装任何应用程序时都会发生这种情况。每个应用程序的错误都不同。
到目前为止,在 Ubuntu 中从未遇到过此问题。我准备离开并返回 Deb,但我喜欢 Ubuntu 的外观和感觉。
答案1
首先尝试所有这些(当然以 root 身份):
# apt-get install -f
# dpkg --configure -a
# apt-get --fix-broken install
# apt-get --fix-missing install
如果这不起作用,请尝试安装aptitude
。
# apt-get install aptitude
然后运行
# aptitude update
# aptitude upgrade