当我运行'apt-get update时,它显示以下错误消息
Err:6 http://in.archive.ubuntu.com/ubuntu bionic-backports Release
404 Not Found [IP: 192.168.3.1 80]
Reading package lists... Done
E: The repository 'http://in.archive.ubuntu.com/ubuntu bionic Release' does not have 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://in.archive.ubuntu.com/ubuntu bionic-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
答案1
- 您是否在使用代理或 VPN?可能是 PiHole。如果是,请尝试禁用它们。
- 在您的
sources.list
https:// 后面通常有一个空格 - 请尝试检查一下。
资料来源: