Ubuntu更新系统组件提示403 Fobidden错误
使用了中国国内镜像源更新系统组件提示403 Fobidden错误,只需要修改成ubuntu官方源即可。
1、修改ubuntu.sources
sudo vi /etc/apt/sources.list.d/ubuntu.sources
--------------------------------------
Types: deb
URIs: http://mirrors.tuna.tsinghua.edu.cn/ubuntu
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
--------------------------------------
把 URIs: http://mirrors.tuna.tsinghua.edu.cn/ubuntu
改为:URIs: http://archive.ubuntu.com/ubuntu
保存并退出。
2、清理缓存
sudo apt clean
3、更新
sudo apt update
4、重启电脑
sudo reboot
评论
发表评论