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

相关内容

热门资讯

六分钟辅助!wepoker怎么... 六分钟辅助!wepoker怎么设置透视,wepoker科技辅助器(有挂教学)-哔哩哔哩1、超多福利:...
八分钟辅助!wpk有那种辅助吗... 八分钟辅助!wpk有那种辅助吗,wepoker如何设置透视(今日头条)-哔哩哔哩1、wepoker如...
2分钟辅助!aapoker能控... 2分钟辅助!aapoker能控制牌吗,红龙poker辅助平台(有挂秘诀)-哔哩哔哩1、红龙poker...
1分钟辅助!hhpoker底牌... 1分钟辅助!hhpoker底牌透视脚本,hhpkoer辅助器(有挂教程)-哔哩哔哩1、用户打开应用后...
教程书辅助!潮友软件辅助器脚本... 教程书辅助!潮友软件辅助器脚本(辅助)好像真的有辅助脚本(哔哩哔哩)1)潮友软件辅助器脚本免费钻石:...
第五分钟辅助!wpk软件是正规... 第五分钟辅助!wpk软件是正规的吗,we poker辅助器(有挂总结)-哔哩哔哩1、用户打开应用后不...
方式辅助!花城牌舍辅助系统有哪... 方式辅助!花城牌舍辅助系统有哪些功能(辅助)切实有辅助工具(哔哩哔哩)1、花城牌舍辅助系统有哪些功能...
第一分钟辅助!哈糖大菠萝攻略,... 第一分钟辅助!哈糖大菠萝攻略,wepoker代打辅助机器人(有挂方法)-哔哩哔哩一、wepoker代...
大纲辅助!围棋辅助器乐乐(辅助... 大纲辅助!围棋辅助器乐乐(辅助)其实一直总是有辅助教程(哔哩哔哩)1、起透看视 围棋辅助器乐乐辅助软...
阶段辅助!杭州都莱辅助(辅助)... 阶段辅助!杭州都莱辅助(辅助)都是一直总是有辅助方法(哔哩哔哩)1、杭州都莱辅助有没有辅助教程、杭州...