當我嘗試在 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

搜尋軟體和更新,選擇下載自:其他..然後選擇最佳伺服器。等待。

相關內容