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

相关内容

热门资讯

2分钟了解wepoke脚本(辅... 相信很多朋友都在电脑上玩过wepoke吧,但是很多朋友都在抱怨用电脑玩起来不方便。为此小编给大家带来...
实测发现(微扑克挂)外挂辅助插... 实测发现(微扑克挂)外挂辅助插件(微扑克)辅助ai代打(2023已更新)(哔哩哔哩)是一款可以让一直...
玩家必看wepoke透明挂识别... 玩家必看wepoke透明挂识别(辅助挂)软件透明挂(2021已更新)(哔哩哔哩)是一款可以让一直输的...
玩家必知拥有(NZT扑克)软件... 玩家必知拥有(NZT扑克)软件透明挂(辅助挂)太坑了其实确实是有挂(2020已更新)(哔哩哔哩),N...
第6个知道!wepoker是有... 第6个知道!wepoker是有透视软件,wpk德州透视最简单处理,解说技巧(有挂工具)1、很好的工具...
二分钟体悟!老友汇辅助!(透视... 一、二分钟体悟!老友汇辅助!(透视)外挂辅助插件(2020已更新)-哔哩哔哩 小伙伴老友汇辅助确实是...
今日百科天天开心十三水有外挂的... 今日百科天天开心十三水有外挂的(辅助挂)太坑了其实是有挂的(2022已更新)(哔哩哔哩)是一款可以让...
分享给玩家(微扑克脚本)外挂辅... 分享给玩家(微扑克脚本)外挂辅助挂软件(微扑克)辅助控制(2022已更新)(哔哩哔哩);一、微扑克A...
一分钟教你wpk德州辅助器是真... 一分钟教你wpk德州辅助器是真的是假(辅助挂)软件透明挂(2024已更新)(哔哩哔哩);详细wpk攻...
最新研发《wEpOke》软件透... 最新研发《wEpOke》软件透明挂!(辅助挂)外挂透明挂助手(2021已更新)(哔哩哔哩);最新软件...