当我尝试在 Ubuntu 22.04 上进行更新时出现 403 禁止错误

当我尝试在 Ubuntu 22.04 上进行更新时出现 403 禁止错误

我正在使用 Ubuntu 22.04。这是我的终端上的命令和输出:

~$ sudo apt update && sudo apt upgrade -y
[sudo] password for paulo: 
Err:1 http://ph.archive.ubuntu.com/ubuntu jammy InRelease
  403  Forbidden [IP: 202.79.184.254 80]
Hit:2 http://packages.microsoft.com/repos/code stable InRelease                
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease                  
Err:4 http://ph.archive.ubuntu.com/ubuntu jammy-updates InRelease              
  403  Forbidden [IP: 202.79.184.254 80]
Err:5 http://ph.archive.ubuntu.com/ubuntu jammy-backports InRelease            
  403  Forbidden [IP: 202.79.184.254 80]
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Hit:7 https://ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu jammy InRelease
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://ph.archive.ubuntu.com/ubuntu jammy InRelease' is no longer signed.
E: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/jammy/InRelease  403  Forbidden [IP: 202.79.184.254 80]
E: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  403  Forbidden [IP: 202.79.184.254 80]
E: The repository 'http://ph.archive.ubuntu.com/ubuntu jammy-updates 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://ph.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease  403  Forbidden [IP: 202.79.184.254 80]
E: The repository 'http://ph.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.

在 Web 浏览器中输入错误的 URL 会导致 403 代码,并且消息是

Forbidden
You don't have permission to access this resource.

答案1

搜索软件和更新,选择从以下位置下载:其他。然后选择最佳服务器。等待。

相关内容