更新软件到 Ubuntu 16.04 时出现问题

更新软件到 Ubuntu 16.04 时出现问题

在 Ubuntu 16.04 中尝试更新软件。收到错误消息Failed to Download Repository Information。我的互联网连接正常。更换了两次服务器,仍然收到相同的消息。以下是该消息详细信息的副本:

W:The repository 'http://ppa.launchpad.net/jfi/psensor-unstable/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/jfi/psensor-unstable/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found, 
E:Some index files failed to download. They have been ignored, or old ones used instead."

答案1

根据Launchpad 上的 psensor-unstable PPA,此 PPA 不适用于 Ubuntu 16.04 Xenial。它仅提供适用于 Ubuntu 14.10 Utopic 之前的软件包。

看起来您尝试集成 PPA 的 Xenial 部分,但该部分(见上文)并不存在。如果存储库不存在,则显然存储库所需的结构也不存在,在本例中是和文件ReleasesPackages基本上apt抱怨它无法获取这两个文件。并且由于这两个文件列出了存储库中的内容,apt因此还会通知您,对于一个存储库(即 psensor-unstable PPA),它无法更新软件包列表。

如果您需要此 PPA 中的某些软件包,则必须从其他地方寻找它们。如果您不再需要此 PPA,则应该能够安全地将其删除。

相关内容