ubuntu 换源
创始人
2025-01-11 00:04:40
0

sudo apt update

错误如下

Ign:1 http://security.ubuntu.com/ubuntu focal-security InRelease Ign:2 http://us.archive.ubuntu.com/ubuntu focal InRelease           Err:3 http://security.ubuntu.com/ubuntu focal-security Release        SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.91.81 80] Ign:4 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease   Ign:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease Err:6 http://us.archive.ubuntu.com/ubuntu focal Release   SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.91.81 80] Err:7 http://us.archive.ubuntu.com/ubuntu focal-updates Release   SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.91.83 80] Err:8 http://us.archive.ubuntu.com/ubuntu focal-backports Release   SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.91.83 80] Reading package lists... Done E: The repository 'http://security.ubuntu.com/ubuntu focal-security Release' no longer has a Release file. 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: The repository 'http://us.archive.ubuntu.com/ubuntu focal Release' no longer has a Release file. 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: The repository 'http://us.archive.ubuntu.com/ubuntu focal-updates Release' no longer has a Release file. 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: The repository 'http://us.archive.ubuntu.com/ubuntu focal-backports Release' no longer has a Release file. 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.

--- > 换源后解决

换源方法如后面。

就换源就解决了,很简单

1,更换网络,改用手机连接

2,更换https软件软件源,比如清华的。

打开链接:https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

选择合适的ubuntu版本,更新仓库配置文件/etc/apt/sources.list。

mv /etc/apt/sources.list /etc/apt/sources.list_bak
vim /etc/apt/sources.list
 

refer https://blog.csdn.net/shangyexin/article/details/102657776

相关内容

热门资讯

美元局黑科技!wopoker德... 美元局黑科技!wopoker德州真的有挂吗(透视)太坑了真的有挂(2025新版总结黑科技脚本);该软...
4分钟黑科技!wpk有透视辅助... 4分钟黑科技!wpk有透视辅助,智星德州菠萝偷偷看功能,透明挂教程(有挂黑科技);玩家必备必赢加哟《...
教学黑科技!wepoke软件俱... 教学黑科技!wepoke软件俱乐部(透视)太坑了真的是有挂(解密教程黑科技规律)wepoke软件俱乐...
第六分钟黑科技!德扑之星辅牌器... 第六分钟黑科技!德扑之星辅牌器真假,微扑克app发牌规律,技巧教程(有挂黑科技)1、不需要AI权限,...
教学黑科技!pokermast... 教学黑科技!pokermaster是不是有外挂(透视)太坑了是真的有挂(线上教程黑科技黑科技);1、...
第8分钟黑科技!德州辅助软件开... 1、第8分钟黑科技!德州辅助软件开发定制,wpk ai辅助有没有用,透明教程(有挂黑科技)。2、德州...
美元局黑科技!wepoke a... 美元局黑科技!wepoke app(透视)太坑了是真的有挂(科技教程黑科技解说)1、起透看视 wep...
七分钟黑科技!德扑之星软件辅牌... 1、七分钟黑科技!德扑之星软件辅牌器,德扑之星软件介绍,wpk教程(有挂黑科技)(UU poker、...
安装黑科技!德州之星透牌器(透... 安装黑科技!德州之星透牌器(透视)太坑了有挂(解密教程黑科技辅助);所有人都在同一条线上,像星星一样...
6分钟黑科技!红龙扑克发牌有问... 6分钟黑科技!红龙扑克发牌有问题,wpk外挂是真的还是,爆料教程(有挂黑科技),支持语音通讯、好友开...