Ubuntu 16.04更新错误


1

我已经完成了Ubuntu 16.04的全新安装。安装系统后,我已经为我安装了其他一些必要的应用程序(包括Opera浏览器,Intel图形驱动程序等)。现在,当我尝试使用从终端更新系统时sudo apt-get update。它给我以下错误

W: The repository 'https://deb.opera.com/opera-stable stable 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: GPG error: https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56A3DEF863961D39
W: The repository 'https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease' 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 https://deb.opera.com/opera-stable/dists/stable/non-free/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

我该如何克服这个问题?

Answers:


1

Opera和Intel的PPA都有错误。

  1. wget -qO- https://deb.opera.com/archive.key | sudo apt-key add - 资源

  2. 英特尔图形驱动程序已经安装并且是开源的,并在必要时随系统的其余部分进行更新。这是驱动程序,而不是应用程序。您肯定是在指已经使用且肯定不需要的英特尔Linux图形工具,而不是应用程序。Ubuntu 16.04随附了相当新的Intel驱动程序。英特尔PPA提供的次要修订版本几乎没有任何好处。

如果仍要使用它,请按照下载页面上的所有说明进行操作。简而言之,这就是您现在应该做的事情,

  • wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-4 -O - | sudo apt-key add -

    1. sudo apt update && sudo apt full-upgrade

无需再次运行安装程序。仅供参考,它所做的就是打开一个GUI(没什么问题),添加PPA,更新&& dist-upgrade。如果用户在运行安装程序之前不遵循上述添加密钥的说明,则会在此失败。


0

您通往歌剧存储库的路径似乎不正确-在浏览器中尝试输入404。

正确的定义似乎是

deb https://deb.opera.com/opera-stable/opera/dists/stable non-free

虽然我无法测试。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.