当我最近尝试从软件中心下载时,收到以下消息:
然后我尝试在终端中从 ubuntu 中删除所有 kde,但发生了以下情况:
sudo apt-get install ppa-purge
[sudo] password for t:
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-telepathy-minimal : Depends: kde-config-telepathy-accounts (>= 15.04.0) but it is not going to be installed
ppa-purge : Depends: aptitude (>= 0.6.6-1ubuntu1.2)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).]
Ubuntu 软件中心给出以下消息:
The following packages have unmet dependencies:
kde-telepathy-minimal: Depends: kde-config-telepathy-accounts (>= 15.04.0) but it is not installed
Depends: telepathy-connection-manager but it is a virtual package
Depends: telepathy-mission-control-5 (>= 1:5.12) but 1:5.16.3-1ubuntu4 is installed
这不允许我安装或删除任何东西!!!我对 Linux 不是很熟悉,所以任何帮助我都会很感激。顺便说一句,apt-get install -f 不起作用。我甚至试过 bleachbit,但无济于事。此时我只想彻底摆脱 kde。
我使用以下命令安装了它:
sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install kubuntu-desktop
为了删除,他们列出了这些由于软件包损坏而无法运行的命令:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:kubuntu-ppa/backports
sudo apt-get remove kubuntu-desktop
答案1
下载所需的包并强制安装:
apt-get download ppa-purge
sudo dpkg -i --force-all ppa-purge*.deb
清除 PPA 和桌面,正如您在问题中所说的那样:
sudo ppa-purge ppa:kubuntu-ppa/backports
sudo apt-get remove kubuntu-desktop
也许没有必要但也不是一个坏主意:
sudo apt-get install -f