简体   繁体   English

apt-get 更新自上周五开始失败

[英]apt-get update start to fail since last Friday

On my ubuntu host, When I was to run the apt-get update command, I am starting to get such failure since 05/06/2022.在我的 ubuntu 主机上,当我运行 apt-get update 命令时,我从 05/06/2022 开始遇到这样的故障。 And it was working perfectly fine before.它之前工作得很好。

Any idea what may have triggered such failure?知道是什么引发了这样的失败吗?

Thanks.谢谢。

Jack杰克

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.

You have 2 errors: The apt-translation and the Google repository.您有 2 个错误:apt-translation 和 Google 存储库。

Disable the translation:禁用翻译:

echo "Acquire::Languages { "none"; };" |sudo tee -a /etc/apt/apt.conf

Then disable (temporary) the Google repository in your sources.list然后在您的sources.list中禁用(临时)Google 存储库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM