无法从 19.04 升级到 20.04

无法从 19.04 升级到 20.04

我正在运行 19.04 桌面(64 位),当我尝试升级时出现错误:

# do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

Please install all available updates for your release before upgrading.

但是我在更新时出现错误

# apt-get update
Ign:1 http://us.archive.ubuntu.com/ubuntu disco InRelease
Hit:2 https://dl.winehq.org/wine-builds/ubuntu disco InRelease                               
Ign:3 http://us.archive.ubuntu.com/ubuntu disco-updates InRelease                            
Hit:4 https://repo.skype.com/deb stable InRelease                                            
Ign:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease   
Hit:6 http://packages.microsoft.com/repos/vscode stable InRelease                            
Hit:7 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release     
Ign:8 http://us.archive.ubuntu.com/ubuntu disco-backports InRelease                       
Hit:9 http://ppa.launchpad.net/peek-developers/stable/ubuntu disco InRelease
Err:10 http://us.archive.ubuntu.com/ubuntu disco Release            
  404  Not Found [IP: 91.189.91.38 80]
Ign:11 http://security.ubuntu.com/ubuntu disco-security InRelease
Err:12 http://us.archive.ubuntu.com/ubuntu disco-updates Release
  404  Not Found [IP: 91.189.91.38 80]
Err:13 http://us.archive.ubuntu.com/ubuntu disco-backports Release
  404  Not Found [IP: 91.189.91.38 80]
Err:14 http://security.ubuntu.com/ubuntu disco-security Release
  404  Not Found [IP: 91.189.88.142 80]
Reading package lists... Done
E: The repository 'http://us.archive.ubuntu.com/ubuntu disco 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.
E: The repository 'http://us.archive.ubuntu.com/ubuntu disco-updates 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.
E: The repository 'http://us.archive.ubuntu.com/ubuntu disco-backports 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.
E: The repository 'http://security.ubuntu.com/ubuntu disco-security 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.

所以我被困住了。任何想法都值得赞赏。

答案1

由于 Ubuntu 19.04 和 19.10 现已停产,您可能需要重新安装。备份所有重要文件。从官方网站下载新的桌面映像 ISO 文件,制作安装媒体并尝试重新安装。 https://releases.ubuntu.com/20.04/ubuntu-20.04.1-desktop-amd64.iso 希望有所帮助。

相关内容