![GPG 错误和 apt-secure(8) 错误。未签名的密钥且无发布文件](https://linux22.com/image/904930/GPG%20%E9%94%99%E8%AF%AF%E5%92%8C%20apt-secure(8)%20%E9%94%99%E8%AF%AF%E3%80%82%E6%9C%AA%E7%AD%BE%E5%90%8D%E7%9A%84%E5%AF%86%E9%92%A5%E4%B8%94%E6%97%A0%E5%8F%91%E5%B8%83%E6%96%87%E4%BB%B6%20.png)
我按照多个线程主要解决了关键错误和apt-secure(8)
错误。
对于关键问题我已经下载了,y-ppa manage
但据我所知,它可能所做的只是减少 GPG 错误的数量。
浏览线程让我的错误数量像过山车一样,列出来的数量时而减少,时而增加。
我已将后面的内容准确粘贴sudo apt-get update
。在我下载 gnome 和 plasma 进行试用后,这些错误开始出现,其中 plasma 存在大量错误。
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://linux.dropbox.com/ubuntu wily InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://linux.dropbox.com/ubuntu wily Release
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:7 http://us.archive.ubuntu.com/ubuntu hardy InRelease
Hit:8 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:9 http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu xenial InRelease
Ign:10 http://us.archive.ubuntu.com/ubuntu hardy Release
Hit:11 https://download.sublimetext.com apt/stable/ InRelease
Hit:12 http://dl.google.com/linux/chrome/deb stable Release
Ign:13 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu hardy/multiverse i386 Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu hardy/multiverse all Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en_US
Ign:18 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en
Hit:19 http://ppa.launchpad.net/dawidd0811/neofetch/ubuntu xenial InRelease
Ign:20 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 DEP-11 Metadata
Ign:21 http://us.archive.ubuntu.com/ubuntu hardy/multiverse DEP-11 64x64 Icons
Ign:13 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 Packages
Ign:22 http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 InRelease
Ign:14 http://us.archive.ubuntu.com/ubuntu hardy/multiverse i386 Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu hardy/multiverse all Packages
Hit:24 http://ppa.launchpad.net/djcj/vapoursynth/ubuntu xenial InRelease
Ign:17 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en_US
Hit:25 http://deb.playonlinux.com trusty InRelease
Ign:18 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en
Ign:26 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 InRelease
Ign:20 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 DEP-11 Metadata
Ign:21 http://us.archive.ubuntu.com/ubuntu hardy/multiverse DEP-11 64x64 Icons
Ign:13 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 Packages
Hit:27 http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release
Hit:28 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu xenial InRelease
Ign:14 http://us.archive.ubuntu.com/ubuntu hardy/multiverse i386 Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu hardy/multiverse all Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en_US
Hit:29 https://packagecloud.io/gyazo/gyazo-for-linux/ubuntu xenial InRelease
Hit:30 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 Release
Hit:31 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease
Ign:18 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en
Ign:20 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 DEP-11 Metadata
Get:32 http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release.gpg [189 B]
Ign:21 http://us.archive.ubuntu.com/ubuntu hardy/multiverse DEP-11 64x64 Icons
Ign:13 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 Packages
Hit:34 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease
Ign:14 http://us.archive.ubuntu.com/ubuntu hardy/multiverse i386 Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu hardy/multiverse all Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en_US
Ign:18 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en
Ign:20 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 DEP-11 Metadata
Ign:32 http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release.gpg
Ign:21 http://us.archive.ubuntu.com/ubuntu hardy/multiverse DEP-11 64x64 Icons
Ign:13 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 Packages
Ign:14 http://us.archive.ubuntu.com/ubuntu hardy/multiverse i386 Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu hardy/multiverse all Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en_US
Hit:35 http://ppa.launchpad.net/libretro/stable/ubuntu xenial InRelease
Ign:18 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en
Ign:20 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 DEP-11 Metadata
Ign:21 http://us.archive.ubuntu.com/ubuntu hardy/multiverse DEP-11 64x64 Icons
Err:13 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 Packages
404 Not Found [IP: 91.189.91.26 80]
Ign:14 http://us.archive.ubuntu.com/ubuntu hardy/multiverse i386 Packages
Ign:15 http://us.archive.ubuntu.com/ubuntu hardy/multiverse all Packages
Ign:17 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en_US
Ign:18 http://us.archive.ubuntu.com/ubuntu hardy/multiverse Translation-en
Ign:20 http://us.archive.ubuntu.com/ubuntu hardy/multiverse amd64 DEP-11 Metadata
Hit:36 http://ppa.launchpad.net/me-davidsansome/clementine/ubuntu xenial InRelease
Ign:21 http://us.archive.ubuntu.com/ubuntu hardy/multiverse DEP-11 64x64 Icons
Hit:37 http://ppa.launchpad.net/moka/daily/ubuntu xenial InRelease
Hit:38 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial InRelease
Hit:39 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
Hit:40 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu xenial InRelease
Hit:41 http://ppa.launchpad.net/webupd8team/indicator-kdeconnect/ubuntu xenial InRelease
Hit:42 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial InRelease
Fetched 189 B in 3s (60 B/s)
Reading package lists... Done
W: The repository 'http://us.archive.ubuntu.com/ubuntu hardy Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/Release.gpg: Signature by key 1A2E38D61775C3963A039A87E3757B8E0D988D6E uses weak digest algorithm (SHA1)
W: GPG error: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release: The following signatures were invalid: KEYEXPIRED 1466769448
W: The repository 'http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/hardy/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
编辑*
Ign:1 http://linux.dropbox.com/ubuntu wily InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:4 http://linux.dropbox.com/ubuntu wily Release
Ign:5 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:8 http://dl.google.com/linux/chrome/deb stable Release
Hit:9 https://download.sublimetext.com apt/stable/ InRelease
Hit:10 http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu xenial InRelease
Hit:11 http://deb.playonlinux.com trusty InRelease
Ign:13 http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 InRelease
Hit:14 http://ppa.launchpad.net/dawidd0811/neofetch/ubuntu xenial InRelease
Ign:15 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 InRelease
Hit:17 http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release
Hit:18 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 Release
Get:20 http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release.gpg [189 B]
Hit:21 https://packagecloud.io/gyazo/gyazo-for-linux/ubuntu xenial InRelease
Ign:20 http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release.gpg
Hit:22 http://ppa.launchpad.net/djcj/vapoursynth/ubuntu xenial InRelease
Hit:23 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu xenial InRelease
Hit:24 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease
Hit:25 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease
Hit:26 http://ppa.launchpad.net/libretro/stable/ubuntu xenial InRelease
Hit:27 http://ppa.launchpad.net/me-davidsansome/clementine/ubuntu xenial InRelease
Hit:28 http://ppa.launchpad.net/moka/daily/ubuntu xenial InRelease
Hit:29 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial InRelease
Hit:30 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
Hit:31 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu xenial InRelease
Hit:32 http://ppa.launchpad.net/webupd8team/indicator-kdeconnect/ubuntu xenial InRelease
Hit:33 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial InRelease
Fetched 189 B in 4s (47 B/s)
Reading package lists... Done
W: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/Release.gpg: Signature by key 1A2E38D61775C3963A039A87E3757B8E0D988D6E uses weak digest algorithm (SHA1)
W: GPG error: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release: The following signatures were invalid: KEYEXPIRED 1466769448
W: The repository 'http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
答案1
对于我的情况,解决后
W: http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/Release.gpg: Signature by key 1A2E38D61775C3963A039A87E3757B8E0D988D6E uses weak digest algorithm (SHA1)
通过删除存储库,其余部分就都到位了。阅读另一个线程 Dukto 与此存储库相关。我在一两个月前安装了它,问题只在安装 plasma DE 后出现,所以我不太确定该说些什么。