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

相关内容

热门资讯

7分钟熟悉!微信小游戏辅助器,... 7分钟熟悉!微信小游戏辅助器,川娱竞技辅助,必赢教程(有挂规律)-哔哩哔哩,微信小游戏辅助器是用手机...
第六分钟带你了解!青龙辅助3.... 您好:青龙辅助3.0这款游戏可以开挂的,确实是有挂的,很多玩家在这款游戏中打牌都会发现很多用户的牌特...
4分钟带你讲解!禅游指尖四川辅... 禅游指尖四川辅助脚本 无需打开直接搜索微信:136704302本司针对手游进行,选择我们的四大理由:...
第三分钟知晓!圣游辅助软件,皮... 第三分钟知晓!圣游辅助软件,皮皮胡子辅助,细节揭秘(有挂详情)-哔哩哔哩;人气非常高,ai更新快且高...
八分钟带你了解!点点游戏辅助(... 八分钟带你了解!点点游戏辅助(透视挂)透视有挂外挂开挂辅助工具(原来有挂)《详细加薇13670430...
9分钟带你明白!指尖四川辅助,... 同城乐吧乐享版510k辅助开挂教程视频分享装挂详细步骤在当今的网络游戏中,同城乐吧乐享版510k辅助...
第八分钟晓得!途游辅助软件,新... 第八分钟晓得!途游辅助软件,新道游开挂,力荐教程(有挂实锤)-哔哩哔哩;相信小伙伴都知道这个途游辅助...
六分钟带你了解!衡阳丫丫字牌靠... 六分钟带你了解!衡阳丫丫字牌靠谱吗(透视挂)实测揭晓外挂开挂辅助插件(原来是有挂的);亲,衡阳丫丫字...
第4分钟带你发现!宝宝吃吃吃怎... 您好:这款掌中乐游戏中心破解版游戏是可以开挂的,确实是有挂的,很多玩家在这款掌中乐游戏中心破解版游戏...
八分钟带你了解!微信微乐开挂(... 微信微乐开挂开挂教程视频分享装挂详细步骤在当今的网络游戏中,微信微乐开挂作为一种经典的娱乐方式,吸引...