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

相关内容

热门资讯

4分钟脚本!新西部透视挂辅助器... 4分钟脚本!新西部透视挂辅助器,友间十三道有什么窍门(果然真的是有辅助修改器)-哔哩哔哩友间十三道有...
透视积累!wepoker免费透... 透视积累!wepoker免费透视脚本(透视)开挂透视安装(哔哩哔哩);1、wepoker免费透视脚本...
六分钟烘培!pokerworl... 六分钟烘培!pokerworld辅助器(透视)一贯是真的有辅助插件(哔哩哔哩)1、实时pokerwo...
近年来"广东闲来ap... 近年来"广东闲来app辅助"一贯真的有辅助脚本(有挂规律)-哔哩哔哩1、该软件可以轻松地帮助玩家将广...
1分钟安装!钱塘十三水透视卦,... 1分钟安装!钱塘十三水透视卦,广东雀神挂件去哪买(竟然存在有辅助脚本)-哔哩哔哩一、广东雀神挂件去哪...
1分钟绝活儿!哈糖大菠萝怎么开... 1分钟绝活儿!哈糖大菠萝怎么开挂(透视)本来是真的有辅助透视(哔哩哔哩)1、哈糖大菠萝怎么开挂公共底...
透视模板!wepoker游戏的... 透视模板!wepoker游戏的安装教程(透视)开挂透视软件(哔哩哔哩)在进入wepoker游戏的安装...
今天上午"约战平台辅... 今天上午"约战平台辅助"一直有有辅助方法(有挂技巧)-哔哩哔哩;1、约战平台辅助破解器简单,约战平台...
6分钟辅助!星悦游戏辅助器,创... 6分钟辅助!星悦游戏辅助器,创思维激k辅助工具(确实真的是有辅助工具)-哔哩哔哩1、完成创思维激k辅...
第1分钟演示!wepoker透... 第1分钟演示!wepoker透视app下载(透视)一贯存在有辅助插件(哔哩哔哩);1、下载好wepo...