首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当我试图更新Ubuntu22.04时,我得到403个禁止错误

当我试图更新Ubuntu22.04时,我得到403个禁止错误
EN

Ask Ubuntu用户
提问于 2022-09-08 03:27:48
回答 1查看 1.2K关注 0票数 0

我用的是Ubuntu 22.04。下面是我的终端上的命令和输出:

代码语言:javascript
复制
~$ 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浏览器上输入错误的urls会导致403代码,消息是

代码语言:javascript
复制
Forbidden
You don't have permission to access this resource.
EN

回答 1

Ask Ubuntu用户

发布于 2022-09-08 08:30:01

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

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1428190

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档