在我的 Ubuntu 20.04 上运行时,sudo apt update
所有启动板 ppa 上都会出现以下错误输出:
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.nodesource.com/node_14.x focal InRelease
Hit:3 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Hit:4 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:5 https://deb.torproject.org/torproject.org focal InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease
Get:7 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:8 https://esm.ubuntu.com/infra/ubuntu focal-infra-security InRelease
Get:9 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:10 https://esm.ubuntu.com/infra/ubuntu focal-infra-updates InRelease
Get:11 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:12 https://packagecloud.io/AtomEditor/atom/any any InRelease
Hit:14 http://security.ubuntu.com/ubuntu focal InRelease
Get:15 http://security.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:16 http://security.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Err:17 http://ppa.launchpad.net/apt-fast/stable/ubuntu focal InRelease
Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out
Err:18 http://ppa.launchpad.net/beineri/opt-qt-5.15.2-focal/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:19 http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:20 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:21 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:22 http://ppa.launchpad.net/pypy/ppa/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:23 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:24 http://ppa.launchpad.net/savoury1/blender/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:25 http://ppa.launchpad.net/savoury1/ffmpeg4/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:26 http://ppa.launchpad.net/savoury1/graphics/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:27 http://ppa.launchpad.net/savoury1/multimedia/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:28 http://ppa.launchpad.net/savoury1/utilities/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:29 http://ppa.launchpad.net/savoury1/vlc3/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:30 http://ppa.launchpad.net/stk/dev/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:31 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:32 http://ppa.launchpad.net/uget-team/ppa/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:33 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Err:34 http://ppa.launchpad.net/xtradeb/apps/ubuntu focal InRelease
Unable to connect to ppa.launchpad.net:http:
Fetched 672 kB in 30s (22.1 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://ppa.launchpad.net/apt-fast/stable/ubuntu/dists/focal/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out
W: Failed to fetch http://ppa.launchpad.net/beineri/opt-qt-5.15.2-focal/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/pypy/ppa/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/savoury1/blender/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/savoury1/ffmpeg4/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/savoury1/graphics/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/savoury1/multimedia/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/savoury1/utilities/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/savoury1/vlc3/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/stk/dev/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/uget-team/ppa/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/xtradeb/apps/ubuntu/dists/focal/InRelease Unable to connect to ppa.launchpad.net:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
其他人在运行时是否遇到同样的错误sudo apt update
?
更新2021-12-25:
使用 vpn 让我能够顺利运行sudo apt update
而不会出现任何错误。
答案1
我有同样的问题,但仅限于 VPN 连接(IP 163.XXX.XXX.XXX)。没有 VPN(IP 77.XXX.XXX.XXX)也可以。可能是 launchpad.net 防火墙(或流量过滤器,或类似的东西)出了问题。