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

相关内容

热门资讯

透视了解"wpk作弊... 透视了解"wpk作弊最怕三个东西"详细辅助透牌教程(切实是有挂);一、wpk作弊最怕三个东西软件透明...
重大通报!中至赣牌圈五十k黑科... 重大通报!中至赣牌圈五十k黑科技,传送屋透视(详细辅助力荐教程),您好,中至赣牌圈五十k黑科技这款游...
透视真的"扑克之星辅... 透视真的"扑克之星辅助"详细辅助透明挂教程(其实是真的有挂);1、扑克之星辅助系统规律教程、扑克之星...
安装程序教程!潮汕馆破解版,丰... 安装程序教程!潮汕馆破解版,丰城双剑辅助(详细辅助教你攻略);人气非常高,ai更新快且高清可以动的一...
透视脚本"pokem... 透视脚本"pokemomo辅助工具"详细辅助2025新版教程(一贯是真的有挂)1、pokemomo辅...
盘点一款!好友赣南辅助,潮汕鱼... 盘点一款!好友赣南辅助,潮汕鱼虾蟹挂辅助器(详细辅助微扑克教程)1.潮汕鱼虾蟹挂辅助器 ai辅助创建...
透视存在"智星德州插... 透视存在"智星德州插件怎么下载"详细辅助玩家教你(竟然是真的有挂)1、智星德州插件怎么下载ai辅助优...
玩家必看攻略!小程序财神十三脚... 玩家必看攻略!小程序财神十三脚本,财神13张有没有辅助工具(详细辅助教你教程)(1)玩家必看攻略!小...
透视透视"wepok... 透视透视"wepoker看底牌"详细辅助AI教程(本来存在有挂)1.wepoker看底牌 ai辅助创...
重大通报!边锋小程序透视器,兴... 重大通报!边锋小程序透视器,兴动互娱辅助(详细辅助微扑克教程)是一款可以让一直输的玩家,快速成为一个...