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

相关内容

热门资讯

有消息称!互游辅助518,本来... 有消息称!互游辅助518,本来真的是有辅助安装(有挂细节)-哔哩哔哩1、打开软件启动之后找到中间准星...
透视攻略!wpk真吗(透视)真... 透视攻略!wpk真吗(透视)真是有辅助安装(哔哩哔哩)1、首先打开wpk真吗辅助器下载最新版本,在w...
实测分享!微乐小程序黑科技(外... 实测分享!微乐小程序黑科技(外挂),微信小程序自建房记牌器一贯有挂秘笈1、每一步都需要思考,不同水平...
揭幕透视!pokemmo免费脚... 揭幕透视!pokemmo免费脚本,pokemmo辅助脚本(透视)原来真的是有辅助软件(哔哩哔哩)1、...
透视方式!aa poker透视... 透视方式!aa poker透视软件(透视)本来真的有辅助安装(哔哩哔哩)1、不需要AI权限,帮助你快...
今天上午!八闽辅助,都是是有辅... 今天上午!八闽辅助,都是是有辅助平台(有挂透视)-哔哩哔哩八闽辅助是不是有人用挂微扑克wpk插件教程...
解迷透视!pokemmo手机脚... 解迷透视!pokemmo手机脚本,约局吧德州可以透视吗(透视)其实是有辅助软件(哔哩哔哩)一、约局吧...
发现一款!微乐小程序黑科技(外... 发现一款!微乐小程序黑科技(外挂),微信小程序 微乐陕西挖坑 外挂果然有挂透视在进入微乐小程序黑科技...
透视要领!德普之星辅助器怎么用... 透视要领!德普之星辅助器怎么用(透视)本来真的是有辅助下载(哔哩哔哩)1、全新机制【德普之星辅助器怎...
现场直击!潮汕激k辅助,都是真... 现场直击!潮汕激k辅助,都是真的是有辅助平台(有挂技巧)-哔哩哔哩小薇(辅助器软件下载)致您一封信;...