apt-get 更新自上周五开始失败
apt-get update start to fail since last Friday
在我的 ubuntu 主机上,当我使用 运行 apt-get update 命令时,我从 05/06/2022 开始遇到这样的故障。而且它之前工作得很好。
知道是什么导致了这种失败吗?
谢谢。
杰克
apt-get update
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:2 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
Ign:3 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
Err:3 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
403 Forbidden [IP: 216.58.194.206 80]
Get:4 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages [21.0 kB]
...
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Err:13 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
403 Forbidden [IP: 91.189.91.38 80]
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Ign:28 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
...
Ign:30 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Err:29 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en
403 Forbidden
Ign:30 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Fetched 28.6 MB in 16s (1,720 kB/s)
Reading package lists... Done
E: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages 403 Forbidden [IP: 216.58.194.206 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/i18n/Translation-en 403 Forbidden [IP: 91.189.91.38 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/universe/i18n/Translation-en 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
您有 2 个错误:apt-translation 和 Google 存储库。
禁用翻译:
echo "Acquire::Languages { "none"; };" |sudo tee -a /etc/apt/apt.conf
然后禁用(临时)sources.list
中的 Google 存储库
在我的 ubuntu 主机上,当我使用 运行 apt-get update 命令时,我从 05/06/2022 开始遇到这样的故障。而且它之前工作得很好。
知道是什么导致了这种失败吗?
谢谢。
杰克
apt-get update
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:2 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
Ign:3 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
Err:3 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
403 Forbidden [IP: 216.58.194.206 80]
Get:4 https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages [21.0 kB]
...
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Err:13 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
403 Forbidden [IP: 91.189.91.38 80]
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Ign:28 http://us.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
...
Ign:30 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Err:29 http://us.archive.ubuntu.com/ubuntu xenial/universe Translation-en
403 Forbidden
Ign:30 http://us.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Fetched 28.6 MB in 16s (1,720 kB/s)
Reading package lists... Done
E: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages 403 Forbidden [IP: 216.58.194.206 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/i18n/Translation-en 403 Forbidden [IP: 91.189.91.38 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/universe/i18n/Translation-en 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
您有 2 个错误:apt-translation 和 Google 存储库。
禁用翻译:
echo "Acquire::Languages { "none"; };" |sudo tee -a /etc/apt/apt.conf
然后禁用(临时)sources.list