我安装了KDE,现在我想删除它。使用以下命令:sudo apt-get purge kubuntu-desktop
但是,我没有删除它,而是得到了以下错误:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 在运行sudo dpkg --configure -a之后,我再次尝试运行清除命令,这是输出:
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
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).我运行apt-get -f install时没有包,但这并没有解决问题。此命令的输出如下:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
kde-config-telepathy-accounts
The following NEW packages will be installed:
kde-config-telepathy-accounts
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/137 kB of archives.
After this operation, 825 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 364670 files and directories currently installed.)
Preparing to unpack .../kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb ...
Unpacking kde-config-telepathy-accounts (4:15.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+16.04.20160126-0ubuntu1
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:
/var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)发布于 2016-12-18 14:34:21
我使用Synaptic和卸载的kubuntu。我在kubuntu包上使用了“完全删除标记”,这解决了问题。
我还安装了BleachBit,并进行了自动清理,以删除不必要的过时文件。
发布于 2016-12-18 12:09:15
你一定是被抓到了。只需运行它所述的命令,一切都应该修复,您可以删除它。
https://askubuntu.com/questions/861941
复制相似问题