我正在使用 Ubuntu 16.04。我收到的错误如下:
W: http://archive.canonical.com/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: The repository 'https://packagecloud.io/computology/apt-backport/ubuntu xenial 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.
W: The repository 'http://ppa.launchpad.net/picaso/octave/ubuntu xenial 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/picaso/octave/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found [IP: 91.189.95.83 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
输出lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
当我尝试更改软件和更新时,出现此错误:
有时应用程序甚至无法打开。
更新:sudo apt-get update
现在运行没有错误,但我想知道这些更新是否足够?
答案1
您必须使用软件和更新()禁用有问题的存储库software-properties-gtk
。
你需要打开其他软件选项卡,然后禁用以下存储库:
http://archive.canonical.com/dists/precise
(因为您的发行版是 16.04 LTS,即 Xenial Xerus)https://packagecloud.io/computology/apt-backport/ubuntu
(甚至浏览器也显示该页面为 404)http://ppa.launchpad.net/picaso/octave/ubuntu
(它不提供 Lucid Lynx 10.04 LTS 之后版本的软件包)
然后确认重新加载包缓存。
如果问题仍然存在 - 请sudo apt-get update
手动运行并将错误输出添加到问题中。我随时准备为您提供更多帮助。