“尝试覆盖‘/usr/share/accounts/services/google-im.service’,它也位于软件包 account-plugin-google 0.12+15.04.20150415.1-0ubuntu2 中”

“尝试覆盖‘/usr/share/accounts/services/google-im.service’,它也位于软件包 account-plugin-google 0.12+15.04.20150415.1-0ubuntu2 中”

我正在尝试更新和升级我的 kubuntu 15.04。尝试安装所有升级后,我收到以下错误消息:

The following extra packages will be installed:
kde-config-telepathy-accounts
The following packages will be upgraded:
kde-config-telepathy-accounts
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/122 kB of archives.
After this operation, 1.948 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 626049 files and directories currently installed.)
Preparing to unpack .../kde-config-telepathy-accounts_15.04.0-0ubuntu1~ubuntu15.04~ppa1_amd64.deb ...
Unpacking kde-config-telepathy-accounts (15.04.0-0ubuntu1~ubuntu15.04~ppa1) over (0.9.0-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_15.04.0-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
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
E: Sub-process /usr/bin/dpkg returned an error code (1)

我该如何解决这个问题?

答案1

删除冲突的包可以解决该问题,直到问题得到妥善解决。

sudo apt-get purge -f unity-scope-gdrive account-plugin-google account-plugin-facebook

答案2

我看到了Alisson Silveira的答案,它很接近,但此后 apt 仍然坏了。我发现修复它的唯一方法是:

sudo apt remove unity-scope-gdrive account-plugin-google account-plugin-facebook kde-telepathy-minimal kde-telepathy

真是一团糟!

答案3

问题已通过删除解决kde-心灵感应使用 Synaptic 包管理器,现在更新和升级功能可以再次正常工作。

相关内容