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

相关内容

热门资讯

教程辅助“小闲川南破解器”开挂... 较多好评“微乐万能挂官网”开挂(透视)辅助教程 了解更多开挂安装加(136704302)微信号是一款...
玩家实测“宝宝浙江游戏开挂器”... 玩家实测“宝宝浙江游戏开挂器”附开挂插件辅助详细教程《详细加薇136704302咨询》游戏特色:1....
两分钟辅助“指尖四川小程序脚本... 两分钟辅助“指尖四川小程序脚本”开挂(透视)辅助下载靠谱教程-知乎【无需打开直接搜索加薇136704...
教程辅助“八仙竞技辅助”开挂(... 教程辅助“八仙竞技辅助”开挂(透视)辅助脚本-知乎《详细加薇136704302咨询》游戏特色:1.玩...
详细说明“丽水都莱大菠萝辅助”... 丽水都莱大菠萝辅助是一款可以让一直输的玩家,快速成为一个“必胜”的ai辅助神器,有需要的用户可以加我...
三分钟辅助“wepoker有没... 三分钟辅助“wepoker有没有插件”开挂(透视)辅助插件安装教程-知乎 >>您好:软件加薇1367...
教程辅助“腾威互娱辅助工具”开... 较多好评“微乐万能挂官网”开挂(透视)辅助教程 了解更多开挂安装加(136704302)微信号是一款...
我来分享“心悦填大坑规律”附开... 我来分享“心悦填大坑规律”附开挂平台辅助详细教程 了解更多开挂安装加(136704302)微信号心悦...
七分钟辅助“微信小程序途游辅助... 七分钟辅助“微信小程序途游辅助免费”开挂(透视)辅助插件我来教教你-知乎1、下载安装好微信小程序途游...
教程辅助“蜀山四川辅助脚本”开... 教程辅助“蜀山四川辅助脚本”开挂(透视)辅助脚本-哔哩哔哩;无需打开直接搜索打开薇:13670430...