无法在Ubuntu Unity 16.04 LTS上下载存储库信息
当我运行Software Updater时,我收到了一条错误消息
无法下载存储库信息,请检查您的Internet连接。
这就是它所说的:
W:The repository 'http://ppa.launchpad.net/upubuntu-com/icons/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. E:Failed to fetch http://ppa.launchpad.net/upubuntu-com/icons/ubuntu/dists/xenial/main/source/Sources 404 Not Found, E:Some index files failed to download. They have been ignored, or old ones used instead.
您添加的PPA, ppa:upubuntu-com/icons
,不支持Ubuntu 16.04。 正如您可以从他们支持的版本列表中看到的那样,最后支持的版本是wily
,或者是Ubuntu 15.10。
您需要删除该PPA或尝试将其设置为使用xenial
而不是xenial
。 通过运行fgrep upubuntu-com /etc/apt/sources.list /etc/apt/sources.list.d/*
找出具有该PPA的fgrep upubuntu-com /etc/apt/sources.list /etc/apt/sources.list.d/*
,然后从那里继续。
如果条目显示在文件/etc/apt/sources.list
,则可以通过运行sudo nano /etc/apt/sources.list
,找到upubuntu-com
行并将xenial
更改为xenial
或删除线。
如果条目显示在/etc/apt/sources.list.d
下的/etc/apt/sources.list.d
,您可以删除文件或使用sudo nano file-path
编辑它并将xenial
更改为xenial
。
完成后,再次运行sudo apt update
。