当我运行时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还是很陌生。
打开软件和更新->其他软件->标记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
。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句