Ubuntu 存储库问题

Ubuntu 存储库问题

我的存储库出现了一些问题。它突然发生,而我什么也没做,我不明白为什么。我正在运行 ubuntu 19.10。我尝试了很多方法,比如重置我的 source.list 或修改 software-gtk 应用程序中的主服务器。当我更改服务器时,我得到了一个“刷新软件”屏幕,这导致了 ubuntu 错误。之后,我无法再访问 software-gtk。我无法再使用命令 apt-get install packagename 安装任何东西。如果我使用 aptitude 并进行更新: 图片

下面你将看到 sudo apt update 的结果(结尾部分因为太长):

Ign:148 http://security.ubuntu.com/ubuntu eoan-security/multiverse DEP-11 64x64 Icons
Ign:149 http://security.ubuntu.com/ubuntu eoan-security/multiverse all c-n-f Metadata
Ign:150 http://security.ubuntu.com/ubuntu eoan-security/multiverse amd64 c-n-f Metadata
Err:11 http://security.ubuntu.com/ubuntu eoan-security/universe Sources
  404  Not Found [IP: 2001:67c:1562::15 80]
Ign:14 http://security.ubuntu.com/ubuntu eoan-security/restricted Sources
Ign:18 http://security.ubuntu.com/ubuntu eoan-security/multiverse Sources
Ign:21 http://security.ubuntu.com/ubuntu eoan-security/main Sources
Ign:24 http://security.ubuntu.com/ubuntu eoan-security/main i386 Packages
Ign:28 http://security.ubuntu.com/ubuntu eoan-security/main amd64 Packages
Ign:31 http://security.ubuntu.com/ubuntu eoan-security/main all Packages
Ign:34 http://security.ubuntu.com/ubuntu eoan-security/main Translation-en_US
Ign:36 http://security.ubuntu.com/ubuntu eoan-security/main Translation-en
Ign:40 http://security.ubuntu.com/ubuntu eoan-security/main amd64 DEP-11 Metadata
Ign:43 http://security.ubuntu.com/ubuntu eoan-security/main all DEP-11 Metadata
Reading package lists... Done
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/eoan/restricted/source/Sources  404  Not Found [IP: 2001:67c:1360:8001::24 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/eoan-updates/restricted/source/Sources  404  Not Found [IP: 2001:67c:1360:8001::24 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/eoan-security/universe/source/Sources  404  Not Found [IP: 2001:67c:1562::15 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

这是我的 source.list 文件:

deb [trusted=yes] http://archive.ubuntu.com/ubuntu eoan main universe restricted multiverse
deb-src [trusted=yes] http://archive.ubuntu.com/ubuntu eoan main universe restricted multiverse #Added by software-properties
deb [trusted=yes] http://security.ubuntu.com/ubuntu/ eoan-security main universe restricted multiverse
deb-src [trusted=yes] http://security.ubuntu.com/ubuntu/ eoan-security main universe restricted multiverse #Added by software-properties
deb [trusted=yes] http://archive.ubuntu.com/ubuntu eoan-updates main universe restricted multiverse
deb-src [trusted=yes] http://archive.ubuntu.com/ubuntu eoan-updates main universe restricted multiverse #Added by software-properties

我不知道该怎么办,因为我想避免重新安装系统... 知道发生了什么吗? 提前感谢您的帮助。

答案1

Ubuntu 19.10 生命周期结束 -https://fridge.ubuntu.com/2020/07/17/ubuntu-19-10-eoan-ermine-end-of-life-reached-on-july-17-2020/

建议升级到 20.04https://help.ubuntu.com/community/FocalUpgrades

对于 Ubuntu 桌面,流程如下

You can easily upgrade over the network with the following procedure.

    Run the update-manager application;

    In Update Manager, click the Settings... button, and enter your password to start the Software Sources application.

    Select the sub menu Updates from the Software Sources application.
    Confirm the "Notify me of a new Ubuntu version:" option is set to "For any new version" if you are using 19.10 or to "For long-term support versions" if you are using 18.04 LTS. If it is not set properly modify it the appropriate option.
    Close the Software Sources application and return to Update Manager.

    In Update Manager, click the Check button to check for new updates.

    If there are any updates to install, use the Install Updates button to install them, then exit.

    In a terminal run update-manager -c -d. 

    Follow the on-screen instructions. 

该网站展示了两种可能的过程:通过软件应用程序或通过终端命令更详细地展示:https://www.linuxbabe.com/ubuntu/upgrade-ubuntu-19-10-to-ubuntu-20-04

相关内容