在 Ubuntu 16.04 上安装 kde 后出现 kaccounts-providers 错误

在 Ubuntu 16.04 上安装 kde 后出现 kaccounts-providers 错误

您好,我安装了 KDE,但出现以下错误:

.......Unpacking kaccounts-providers (4:15.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kaccounts-providers_4%3a15.12.3-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/etc/signon-ui/webkit-options.d/www.facebook.com.conf', which is also in package account-plugin-facebook 0.12+16.04.20160126-0ubuntu1

.........Errors were encountered while processing:
 /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb
 /var/cache/apt/archives/kaccounts-providers_4%3a15.12.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

我已经使用以下命令修复了 kde-config-telepathy-accounts:

sudo dpkg -r  account-plugin-google unity-scope-gdrive
sudo apt-get -f install

这样就安装了 kde-config-telepathy-accounts。但是没有安装 kaccounts-providers。因此我尝试从 synaptic 包管理器安装 kaccounts-providers,但出现以下错误:

(Reading database ... 321707 files and directories currently installed.)
Preparing to unpack .../kaccounts-providers_4%3a15.12.3-0ubuntu1_amd64.deb ...
Unpacking kaccounts-providers (4:15.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kaccounts-providers_4%3a15.12.3-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/etc/signon-ui/webkit-options.d/www.facebook.com.conf', which is also in package account-plugin-facebook 0.12+16.04.20160126-0ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/kaccounts-providers_4%3a15.12.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

有人能告诉我怎么解决这个问题吗?

答案1

通过这样做修复了它:

sudo dpkg -r account-plugin-facebook

然后从 synaptic 包管理器安装 kaccounts-providers

答案2

我知道这不是同一个话题,但可以帮助别人德比安

libkaccounts1 : Breaks: kaccounts-providers (< 4:17.08) but 16.08.3-1 is to be installed

sudo apt-get remove kaccounts-providers解决了我的问题

相关内容