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

相关内容

热门资讯

黑科技辅助!wepoke线上(... 黑科技辅助!wepoke线上(透视)切实教程(2022已更新)(哔哩哔哩)一、wepoke线上软件透...
黑科技肯定(wepokeai代... 黑科技肯定(wepokeai代打)wepoke智能ai(WepOke)从前有挂(有挂方法)-哔哩哔哩...
黑科技安装!来玩德州app有挂... 黑科技安装!来玩德州app有挂吗(透视)其实真的有挂(2026已更新)(哔哩哔哩)亲,关键说明,来玩...
终于清楚!微扑克辅助挂(透视)... 终于清楚!微扑克辅助挂(透视)外挂透明挂辅助app(2022已更新)(哔哩哔哩)运微扑克辅助挂辅助工...
黑科技辅助!微扑克软件发牌管理... 黑科技辅助!微扑克软件发牌管理(透视)靠谱教程(2023已更新)(哔哩哔哩)1.微扑克软件发牌管理 ...
黑科技脚本(wepokeai代... 黑科技脚本(wepokeai代打)wepower透视辅助真假(wePoKe)原先有挂(有挂秘诀)-哔...
黑科技黑科技!德扑之星怎么查数... 黑科技黑科技!德扑之星怎么查数据(透视)确实是真的有挂(2021已更新)(哔哩哔哩)1、首先打开德扑...
发现玩家!wpk微扑克真的有辅... 发现玩家!wpk微扑克真的有辅助插件吗(透视)外挂透明挂辅助软件(2026已更新)(哔哩哔哩)1、w...
黑科技辅助!微扑克规律(透视)... 黑科技辅助!微扑克规律(透视)技巧教程(2021已更新)(哔哩哔哩)1、让任何用户在无需微扑克规律A...
黑科技有挂(wepoke智能a... 黑科技有挂(wepoke智能ai)wepoke挂真的假的(WEpoke)原生是有挂(有挂教程)-哔哩...