【问题标题】:Unable to uninstall kde-desktop on ubuntu 15.10 [closed]无法在 ubuntu 15.10 上卸载 kde-desktop [关闭]
【发布时间】:2016-02-25 00:52:26
【问题描述】:

每当我尝试卸载 kde-desktop 时,都会出现以下错误:

a7madx7@doctor-ahmad:~$  sudo apt-get remove kubuntu-desktop 
[sudo] password for a7madx7: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 kde-telepathy-minimal : Depends: kde-config-telepathy-accounts (>= 15.04.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

但是当我按照它说的去做时,它给了我另一个错误:

a7madx7@doctor-ahmad:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  kde-config-telepathy-accounts
The following NEW packages will be installed:
  kde-config-telepathy-accounts
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
621 not fully installed or removed.
Need to get 0 B/138 kB of archives.
After this operation, 828 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 605588 files and directories currently installed.)
Preparing to unpack .../kde-config-telepathy-accounts_4%3a15.08.2-0ubuntu1_amd64.deb ...
Unpacking kde-config-telepathy-accounts (4:15.08.2-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.08.2-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+15.10.20150723-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.08.2-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
a7madx7@doctor-ahmad:~$ 

我想知道如何完全卸载 kde-desktop 而不会妨碍它。

附:

由于此错误,我无法安装其他任何东西。

【问题讨论】:

    标签: linux ubuntu terminal kde plasma


    【解决方案1】:

    如果您不需要它,您可以运行sudo apt-get remove kde-telepathy-minimal,然后运行sudo apt-get clean,这应该会阻止它尝试安装。

    如果之后还有问题,可以试试sudo dpkg --purge --force-all kde-telepathy-minimal

    【讨论】:

    • 感谢您的指导使之成功 :)
    猜你喜欢
    • 2016-08-11
    • 1970-01-01
    • 2013-10-14
    • 1970-01-01
    • 2021-12-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-22
    相关资源
    最近更新 更多