“试图覆盖’/usr/share/accounts/services/google-im.service’,这也是包帐户-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)
我该如何解决这个问题?
删除冲突的包可解决此问题,直到它被正确修复。
sudo apt-get purge -f unity-scope-gdrive account-plugin-google account-plugin-facebook
我看到Alisson Silveira
的回答,它很接近,但在此之后仍然打破了。 我发现修复它的唯一方法是:
sudo apt remove unity-scope-gdrive account-plugin-google account-plugin-facebook kde-telepathy-minimal kde-telepathy
真是一团糟!
通过使用Synaptic包管理器删除kde-telepathy解决了这个问题,现在更新和升级function再次运行。