![“尝试覆盖‘/usr/share/accounts/services/google-im.service’,它也位于软件包 account-plugin-google 0.12+15.04.20150415.1-0ubuntu2 中”](https://linux22.com/image/871408/%E2%80%9C%E5%B0%9D%E8%AF%95%E8%A6%86%E7%9B%96%E2%80%98%2Fusr%2Fshare%2Faccounts%2Fservices%2Fgoogle-im.service%E2%80%99%EF%BC%8C%E5%AE%83%E4%B9%9F%E4%BD%8D%E4%BA%8E%E8%BD%AF%E4%BB%B6%E5%8C%85%20account-plugin-google%200.12%2B15.04.20150415.1-0ubuntu2%20%E4%B8%AD%E2%80%9D.png)
我正在尝试更新和升级我的 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 包管理器,现在更新和升级功能可以再次正常工作。