無法使用 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

相關內容