我无法在 ubuntu 中更新我的软件包列表

我无法在 ubuntu 中更新我的软件包列表

当我运行'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.listhttps:// 后面通常有一个空格 - 请尝试检查一下。

资料来源:

Ubuntu 存储库没有 Release 文件

Bionic 默认存储库没有发布文件 - sudo apt-get update 不起作用

相关内容