无法在ubuntu中修复软件包

我无法通过使用终端或synaptic包管理器来修复程序。 我一直收到这条消息。

dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_15.04.1-0ubuntu1~ubuntu15.04~ppa1_amd64.deb (--unpack): trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+15.04.20150415.1-0ubuntu2 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) 

在我卸载kubuntu桌面后,KDE的部分内容似乎仍然存在。 这阻止我安装或卸载程序。 帮助赞赏!

您不能同时安装两个软件包( kde-config-telepathy-accountsaccount-plugin-google ),因为文件/usr/share/accounts/services/google-im.service包含在两个软件包中。

kde-config-telepathy-accounts通过您添加到系统中的PPA安装。 官方包裹包没有这个问题。

因此,清除PPA或删除包kde-config-telepathy-accounts via

 sudo apt-get remove kde-config-telepathy-accounts 

要么

删除包account-plugin-google通过

 sudo apt-get remove account-plugin-google