发行版升级后安装 libvirt* 和 virt-manager 时未满足的依赖关系

发行版升级后安装 libvirt* 和 virt-manager 时未满足的依赖关系

我一直在从 Ubuntu 18 升级到 20.04,然后升级到 20.10。现在,我需要安装virt-manager,我确信它有一个在 Ubuntu 20.10 上受支持的软件包。当我尝试使用 安装它时sudo apt-get install virt-manager,我收到未满足的依赖关系问题,指出无法安装软件包。

The following information may help to resolve the situation:

The following packages have unmet dependencies.
 libvirt-glib-1.0-0 : Depends: libvirt0 (>= 1.2.8~rc2) but it is not installable
 python3-libvirt : Depends: libvirt0 (>= 6.0.0-0ubuntu5) but it is not installable
                   Recommends: libvirt-daemon but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我猜测我的旧包与那些包有冲突,但是由于显示的错误消息,这毫无意义。

我确实尝试过sudo apt-get update,但这并没有改变任何事情。

尝试安装依赖项会导致以下结果:

E: Package 'libvirt0' has no installation candidate

这里是/etc/apt/resource.list

deb http://archive.ubuntu.com/ubuntu/ groovy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ groovy main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ groovy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ groovy-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ groovy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ groovy-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ groovy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ groovy-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu groovy partner
deb-src http://archive.canonical.com/ubuntu groovy partner

我不知道为什么有些软件包无法安装,而我应该可以安装它们。有人遇到过这个问题吗?我是不是漏掉了什么?

另外,我找不到任何相关问题提到发行版升级后发生此类事情;尽管我知道未满足的依赖关系问题很多。

相关内容