当我运行时sudo apt-get update
,收到此错误消息:
W: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu yakkety 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.
E: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
由于这个错误,我无法安装任何应用程序,请详细帮助我,我对 Linux 还很陌生。
答案1
打开软件与更新->其他软件-> 标记wine
存储库 -> 点击消除。
如果有多个条目wine
,则也删除另一个(源代码)。
在屏幕截图中,您可以看到我的存储库,在此示例中,LXD
存储库将被删除。
当您运行sudo apt update
或sudo apt-get update
现在时,它将成功且不会出现错误。
更新解决您无法安装vlc
软件包的评论...尽管原始问题中没有询问,但这些软件包可以在 Ubuntu Universe 存储库中找到。
$ apt policy vlc
vlc:
Installed: 2.2.4-4ubuntu0.16.10.1
Candidate: 2.2.4-4ubuntu0.16.10.1
Version table:
*** 2.2.4-4ubuntu0.16.10.1 500
500 http://archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 Packages
100 /var/lib/dpkg/status
2.2.4-4 500
500 http://archive.ubuntu.com/ubuntu yakkety/universe amd64 Packages
确保所有官方 Ubuntu 存储库都已启用,如下面的屏幕截图所示:
启用所有存储库并运行后sudo apt update
,您就可以安装vlc
。