-
执行apt update 报错如图:
Err:6 http://mirrors.aliyun.com/ubuntu bionic Release
SECURITY: URL redirect target contains control characters, rejecting. [IP:
E: The repository ‘http://mirrors.aliyun.com/ubuntu bionic 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.本人将镜像配置连接由 http 修改为 https 解决 例子如下:
- vim /etc/apt/sources.list
- 将镜像地址
http://mirrors.aliyun.com/ubuntu…
修改为:
https://mirrors.aliyun.com/ubuntu…
apt update Updating from such a repository can‘t be done securely, and is therefore
最新推荐文章于 2025-03-15 17:34:23 发布