Desinstalar o erro do kubuntu-desktop

0

Eu instalei o KDE e agora quero removê-lo. Usando o seguinte comando: sudo apt-get purge kubuntu-desktop

Mas, em vez de removê-lo, recebo o seguinte erro:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

Depois de executar o sudo dpkg --configure -a  Tentei novamente executar o comando purge e esta foi a saída:

    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).

Eu executei o apt-get -f install sem pacotes, mas isso não resolveu o problema. A saída deste comando é:

    Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional 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 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/137 kB of archives.
After this operation, 825 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 364670 files and directories currently installed.)
Preparing to unpack .../kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb ...
Unpacking kde-config-telepathy-accounts (4:15.12.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+16.04.20160126-0ubuntu1
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por mihaijulien 18.12.2016 / 12:37

3 respostas

1

Eu usei o Synaptic e desinstalei o kubuntu. Eu usei "Mark for Complete Removal" nos pacotes do kubuntu e resolvi o problema.

Eu também instalei o BleachBit e fiz um autoclean para remover arquivos obsoletos desnecessários.

    
por mihaijulien 18.12.2016 / 15:34
0

Você deve ter interrompido o dpkg. Basta executar o comando que diz e tudo deve ser corrigido e você pode removê-lo.

    
por Kyle H 18.12.2016 / 13:09
0

Tente isto:

Abra um terminal

Pressione Ctrl + Alt + T

Execute:

exec sudo -i

rm /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb

dpkg --configure -a

apt-get update

apt-get install --reinstall aptitude deborphan

aptitude remove '?and(?reverse-depends(kubuntu),?not(?reverse-depends(?exact-name(ubuntu-desktop))))'

aptitude remove '?and(?reverse-depends(kde),?not(?reverse-depends(?exact-name(ubuntu-desktop))))'

apt-get install --reinstall ubuntu-desktop

deborphan

apt-get --purge remove $(deborphan)

deborphan --libdevel

apt-get --purge remove $(deborphan --libdevel)

deborphan --find-config

dpkg --purge $(deborphan --find-config)

apt-get autoremove

apt-get clean

reboot
    
por kyodake 18.12.2016 / 15:54