首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu16.04更新管理器错误

Ubuntu16.04更新管理器错误
EN

Ask Ubuntu用户
提问于 2016-05-06 16:23:28
回答 4查看 94.5K关注 0票数 22

每次我尝试执行软件更新时,都会从软件管理器那里得到以下错误:

代码语言:javascript
复制
W:GPG error: http://download.virtualbox.org/virtualbox/debian xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF, W:The repository 'http://download.virtualbox.org/virtualbox/debian xenial InRelease' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:There is no public key available for the following key IDs:
A2F683C52980AECF  , W:The repository 'http://ppa.launchpad.net/blackmage/f.lux/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:The repository 'http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:The repository 'http://ppa.launchpad.net/zeal-developers/ppa/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:http://deb.playonlinux.com/dists/trusty/InRelease: Signature by key 74F7358425EEB6176094C884E0F72778C4676186 uses weak digest algorithm (SHA1), W:http://liveusb.info/multisystem/depot/dists/all/Release.gpg: Signature by key 32027DE3D67157C45E69C0AE4E940D7FDD7FB8CC uses weak digest algorithm (SHA1), W:http://vagrant-deb.linestarve.com/dists/any/InRelease: Signature by key AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4 uses weak digest algorithm (SHA1), E:Failed to fetch http://ppa.launchpad.net/blackmage/f.lux/ubuntu/dists/xenial/main/source/Sources  404  Not Found, E:Failed to fetch http://ppa.launchpad.net/blackmage/f.lux/ubuntu/dists/xenial/main/binary-i386/Packages  404  Not Found, E:Failed to fetch http://ppa.launchpad.net/gezakovacs/ppa/ubuntu/dists/xenial/main/binary-i386/Packages  404  Not Found, E:Failed to fetch http://ppa.launchpad.net/zeal-developers/ppa/ubuntu/dists/xenial/main/source/Sources  404  Not Found, E:Failed to fetch http://ppa.launchpad.net/zeal-developers/ppa/ubuntu/dists/xenial/main/binary-i386/Packages  404  Not Found, E:Some index files failed to download. They have been ignored, or old ones used instead.

下面是我尝试编辑存储库时显示的一些屏幕截图:

我不知道该怎么解决这个问题。

EN

回答 4

Ask Ubuntu用户

回答已采纳

发布于 2016-05-06 16:33:33

显然,您在没有删除外部存储库的情况下进行了系统升级。解决问题的最简单方法是删除所有外部存储库并删除所有相关的公钥。完成此操作后,更新存储库(sudo apt-get update)并检查现在是否一切都已修复.当不再发生错误时,您可以添加新的外部存储库,但请仔细检查这些存储库是否“匹配Xenial”.

根据您添加的存储库,更新存储库时仍然会出现“弱签名”警告--但是您可以忽略它,因为它只是一条信息消息。

代码语言:javascript
复制
gpg: Signature by key ... uses weak digest algorithm (SHA1)  
票数 3
EN

Ask Ubuntu用户

发布于 2016-05-17 19:31:41

在命令行中,键入以下内容:

代码语言:javascript
复制
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc -O- | sudo apt-key add -
票数 16
EN

Ask Ubuntu用户

发布于 2016-06-09 16:50:33

您需要删除升级前遗留下来的旧密钥。做:

代码语言:javascript
复制
sudo apt-key list

查找违规键(靠近"virtualbox",在"pub“、xxx/KEYHERE之后)并做:

代码语言:javascript
复制
sudo apt-key del KEYHERE

然后转到https://www.virtualbox.org/wiki/Linux_下载次数并按照"Debian-based发行版“中的说明进行操作。

票数 10
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/768569

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档