sudo apt-get update 返回 400 错误请求

sudo apt-get update 返回 400 错误请求

在使用 UNIX/Linux 20 多年后,我不介意承认下面描述的问题困扰了我。

我运行的是 Ubuntu 22.04.3 LTS,我尽量确保每周安装更新。但在 10 月 2 日左右,事情开始出错,我不知道如何解决。

运行“sudo apt-get update”返回:

chrish@chrish-2018:~$ sudo apt-get update
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
  400  Bad Request [IP: 185.125.190.36 80]
Err:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  400  Bad Request [IP: 185.125.190.36 80]
Err:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  400  Bad Request [IP: 185.125.190.36 80]
Err:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
  400  Bad Request [IP: 185.125.190.36 80]
Reading package lists... Done                         
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is no longer signed.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease  400  Bad Request [IP: 185.125.190.36 80]
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is no longer signed.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  400  Bad Request [IP: 185.125.190.36 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease  400  Bad Request [IP: 185.125.190.36 80]
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is no longer signed.
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.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-security/InRelease  400  Bad Request [IP: 185.125.190.36 80]
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-security InRelease' is no longer signed.
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.

用 Google 搜索此输出的各个部分会返回一些结果,包括 askubuntu 上的其他帖子,但我还没有找到针对我的特定问题的解决方案。

有人可以帮忙吗?

如有任何帮助我们将不胜感激!

相关内容