当我sudo apt-get update
在 Ubuntu 19.04 上运行时,结果是:
Err:1 http://lt.archive.ubuntu.com/ubuntu disco InRelease
Could not connect to lt.archive.ubuntu.com:80 (193.219.61.87). - connect (111: Connection refused) Cannot initiate the connection to lt.archive.ubuntu.com:80 (2001:778::87). - connect (101: Network is unreachable)
Err:2 http://lt.archive.ubuntu.com/ubuntu disco-updates InRelease
Cannot initiate the connection to lt.archive.ubuntu.com:80 (2001:778::87). - connect (101: Network is unreachable)
Get:3 http://deb.playonlinux.com trusty InRelease [2,590 B]
Hit:4 http://security.ubuntu.com/ubuntu disco-security InRelease
Ign:5 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu disco InRelease
Err:6 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu disco Release
404 Not Found [IP: 91.189.95.83 80]
Ign:7 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 InRelease
Get:8 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 Release [986 B]
Get:9 http://deb.playonlinux.com trusty/main amd64 Packages [564 B]
Get:10 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 Release.gpg [481 B]
Get:11 http://deb.playonlinux.com trusty/main i386 Packages [564 B]
Get:12 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 Packages [831 B]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu disco Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我无法使用 安装任何程序sudo apt-get install
。我该如何修复这种情况?
答案1
你有两个问题。
首先,您的 PPA 出现 404 错误,这意味着它不支持 Disco。您需要禁用它(它是 GNOME3 团队的 GNOME3 PPA)。
其次, (IPv4) 和(IPv6)lt.archive.ubuntu.com
上的镜像可能有问题。*193.219.61.87
2001:778::87
您可能希望/etc/apt/sources.list
暂时更改您的镜像以使用archive.ubuntu.com
- 中央存档镜像 - 来获取您的更新。
* 注意:我将把此内容发送给 Mirrors Team 供他们查看,但考虑到这是假期周末,因此可能不会很快做出决定。此内容已在 Ubuntu 的 RT 票务系统中归档为 #33540