Sudo apt-get 更新问题,它总是向我显示“404 错误”和“版本不可用”

问题描述

我知道对此有很多答案,但我已经在互联网上尝试了很多解决方案,但没有一个对我有用。 我在 Oracle 虚拟 Box 中使用 Ubuntu 19.04。

ather@ather-VirtualBox:~$ sudo apt-get update
[sudo] password for ather: 
Ign:1 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  InRelease
Ign:2 http://security.ubuntu.com/ubuntu disco-security InRelease
Err:3 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  Release
  404  Not Found [IP: 195.135.221.134 80]
Ign:4 http://in.archive.ubuntu.com/ubuntu disco InRelease
Ign:5 http://in.archive.ubuntu.com/ubuntu disco-updates InRelease
Err:6 http://in.archive.ubuntu.com/ubuntu disco Release
  404  Not Found [IP: 43.255.166.254 80]
Err:7 http://in.archive.ubuntu.com/ubuntu disco-updates Release
  404  Not Found [IP: 43.255.166.254 80]
Err:8 http://security.ubuntu.com/ubuntu disco-security Release
  404  Not Found [IP: 91.189.91.39 80]
Reading package lists... Done
E: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  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 disco 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 disco-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.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://security.ubuntu.com/ubuntu disco-security 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.

Software Configuration is like this

解决方法

Ubuntu 19.04 已过时。所以 Ubuntu 19.04 的所有软件包都可以在旧版本部分找到。

这可能会导致此 404 错误。

您可以参考 this 帖子来解决错误。

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...