我想尝试 kde,但安装时出现了一些错误。我没多想就加载了 kde,结果只看到一个光标和一个黑屏。所以我尝试卸载它,结果出现了这个错误。
eelis@eelis-All-Series:~$ sudo apt-get purge plasma-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
kde-config-touchpad : Depends: plasma-desktop but it is not going to be installed
kde-telepathy-minimal : Depends: kde-config-telepathy-accounts (>= 15.04.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
所以我运行sudo apt-get -f install
并收到此错误。
Errors were encountered while processing:
/var/cache/apt/archives/kde-config-telepathy-accounts_15.04.1-0ubuntu1~ubuntu15.04~ppa1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Dpkg 告诉我 kde 未安装,但 apt 告诉我已安装。
如果你们能帮我分析一下我的问题就太好了。谢谢。
答案1
看来我成功解决了我的问题。
我跑了:
sudo add-apt-repository -r ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get -f install
sudo apt-get autoremove
并且运行良好。