无法在带有 KDE Plasma 的 Ubuntu 18.04 上安装 Latte-Dock

无法在带有 KDE Plasma 的 Ubuntu 18.04 上安装 Latte-Dock

我一直尝试在带有 KDE Plasma 的 Ubuntu 上安装 Latte Dock,但一直出现未满足依赖项的错误。我尝试删除旧软件包,但这会删除整个 KDE Plasma。有什么帮助吗?

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:
 latte-dock : Depends: libkf5declarative5 (>= 5.45.0) but 5.44.0-0ubuntu3 is to be installed
              Depends: libkf5waylandclient5 (>= 4:5.47.0) but 4:5.44.0-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

答案1

我通过添加 KUbuntu Backports PPA 并进行更新解决了这个问题。这更新了过时的软件包。

sudo add-apt-repository ppa:kubuntu-ppa/backports

这通过 KDE 商店更新了所有软件包(很多)和已安装的 Latte。

答案2

您应该尝试使用以下方法修复所有损坏的软件包:

apt install -f

相关内容