无法升级此工具不支持从“eon”升级到“bionic”

无法升级此工具不支持从“eon”升级到“bionic”

当我尝试使用软件更新程序更新我的 Ubuntu 18.04 时,出现以下错误:

软件更新程序错误

无法升级此工具不支持从“eon”升级到“bionic”。

我在 Google 或任何地方都没有找到与此相关的任何内容。

的结果lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:    19.10
Codename:   eoan

输出cat /etc/apt/sources.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ eoan main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ eoan main restricted universe multiverse #Added by software-properties
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ eoan-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ eoan-updates main restricted universe multiverse #Added by software-properties
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://in.archive.ubuntu.com/ubuntu/ eoan universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial universe
deb http://in.archive.ubuntu.com/ubuntu/ eoan-updates universe
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ eoan multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://in.archive.ubuntu.com/ubuntu/ eoan-updates multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ eoan-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ eoan-backports main restricted universe multiverse #Added by software-properties
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu eoan-security main restricted
deb-src http://security.ubuntu.com/ubuntu eoan-security main restricted universe multiverse #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu eoan-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu eoan-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://in.archive.ubuntu.com/ubuntu/ eoan-proposed universe multiverse restricted main

答案1

我也遇到过这个问题。我开始运行升级,就在我单击安装升级时,我失去了与网络的连接。然后上面的错误仍然存​​在。虽然专家表示此选项未经测试,但它运行正常,没有任何故障,而另一个“半安装”大约需要 2.5 小时。我现在使用的是 20.4,这太棒了!按照这些步骤操作 - 使用 sudo。

$ sed -i 's/bionic/focal/g' /etc/apt/sources.list
$ apt-get update
$ apt-get upgrade
$ apt-get dist-upgrade
$ reboot

相关内容