由于存储库更新错误,我无法安装任何应用程序

Moe*_*har 1 updates apt

当我运行时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.  
Run Code Online (Sandbox Code Playgroud)

由于此错误,我无法安装任何应用程序,请详细帮助我,我对 Linux 非常陌生。

cl-*_*box 8

打开Software & Updates -> Other Software -> 标记wine存储库 -> 点击Remove
如果 有多个条目wine,也删除另一个(源代码)。

在此处输入图片说明

在屏幕截图中,您会看到我的存储库,在本示例中,存储库LXD将被删除。
当您运行时sudo apt updatesudo 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
Run Code Online (Sandbox Code Playgroud)

确保所有官方 Ubuntu 存储库都已启用,如下面的屏幕截图所示:

在此处输入图片说明

启用所有存储库并运行后sudo apt update,您就可以安装vlc.


归档时间:

查看次数:

2509 次

最近记录:

8 年,8 月 前