apt update Updating from such a repository can‘t be done securely, and is therefore
执行apt update 报错如图:Err:6 http://mirrors.aliyun.com/ubuntu bionic ReleaseSECURITY: URL redirect target contains control characters, rejecting. [IP:E: The repository ‘http://mirrors.aliyun.com/ubuntu bio
·
-
执行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…
更多推荐
已为社区贡献1条内容
所有评论(0)