Ubuntu 22.04 上的“apt update”失败并出现“403 Forbidden”错误

Jaf*_*far 3 server updates apt 22.04

使用以下命令更新 Ubuntu Server 22.04 时,我收到如下错误消息sudo apt update

Err:2 http://id.archive.ubuntu.com/ubuntu jammy InRelease
  403  Forbidden [IP: 202.79.184.254 80]
Err:3 http://id.archive.ubuntu.com/ubuntu jammy-updates InRelease
  403  Forbidden [IP: 202.79.184.254 80]
Err:4 http://id.archive.ubuntu.com/ubuntu jammy-backports InRelease
  403  Forbidden [IP: 202.79.184.254 80]
Err:5 http://id.archive.ubuntu.com/ubuntu jammy-security InRelease
  403  Forbidden [IP: 202.79.184.254 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://id.archive.ubuntu.com/ubuntu jammy InRelease' is no longer signed.
E: Failed to fetch http://id.archive.ubuntu.com/ubuntu/dists/jammy/InRelease  403  Forbidden [IP: 202.79.184.254 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://id.archive.ubuntu.com/ubuntu jammy-updates InRelease' is no longer signed.
E: Failed to fetch http://id.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  403  Forbidden [IP: 202.79.184.254 80]
E: Failed to fetch http://id.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease  403  Forbidden [IP: 202.79.184.254 80]
E: The repository 'http://id.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://id.archive.ubuntu.com/ubuntu/dists/jammy-security/InRelease  403  Forbidden [IP: 202.79.184.254 80]
E: The repository 'http://id.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
Run Code Online (Sandbox Code Playgroud)

你能帮我解决这个问题吗?

小智 8

您可以尝试将下载位置切换Main ServerServer for Indonesia. 然后再做sudo apt-get update一次。

在此输入图像描述