Ubuntu 20.04:ubuntu-release-upgrader-qt:依赖:ubuntu-release-upgrader-core(= 1:20.04.18)但需要安装 1:20.04.28

Ubuntu 20.04:ubuntu-release-upgrader-qt:依赖:ubuntu-release-upgrader-core(= 1:20.04.18)但需要安装 1:20.04.28

我正在尝试在全新安装的 Ubuntu 20.04 上安装 kubuntu-desktop

$ sudo apt install kubuntu-desktop             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kubuntu-desktop : Depends: ubuntu-release-upgrader-qt but it is not going to be installed
                   Recommends: libreoffice-kf5 but it is not going to be installed
                   Recommends: libreoffice-plasma but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt install ubuntu-release-upgrader-qt

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ubuntu-release-upgrader-qt : Depends: ubuntu-release-upgrader-core (= 1:20.04.18) but 1:20.04.28 is to be installed
E: Unable to correct problems, you have held broken packages.

答案1

我刚刚通过在我的中添加这两行解决了这个问题/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu focal-updates main restricted
deb http://archive.ubuntu.com/ubuntu focal-updates universe

并运行这些命令

# apt update
# apt upgrade
# apt install kubuntu-desktop

相关内容