Erro quebrado count0 dependências não atendidas

1

Eu tenho o ícone vermelho de erro nos cabeçalhos e segui muitos conselhos do fórum, mas nenhum deles funcionou para mim. Eu uso o Ubuntu em húngaro, mas talvez você possa ler as coisas importantes da mensagem de erro. Eu digitei sudo apt-get install -f e esse é o resultado:

$ sudo apt-get install -f
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 362 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 ... 213142 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-0ubuntu3) ...
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)

EDIT !:

~$ sudo apt-get autoremove  kde-config-telepathy-accounts
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'kde-config-telepathy-accounts' is not installed, so not removed
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).
hamana@hamana-AO756:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
hamana@hamana-AO756:~$ sudo apt-get update
Get:1 http://hu.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease               
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Get:4 http://hu.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Fetched 437 kB in 1s (338 kB/s)                               
Reading package lists... Done
hamana@hamana-AO756:~$ sudo apt-get --reinstall  kde-config-telepathy-accounts
E: Command line option --reinstall is not understood in combination with the other options
hamana@hamana-AO756:~$ sudo apt-get install --reinstall  kde-config-telepathy-accounts
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  kde-config-telepathy-accounts
0 upgraded, 1 newly installed, 0 to remove and 362 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.
(Reading database ... 213142 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-0ubuntu3) ...
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)
hamana@hamana-AO756:~$ 
    
por Mátyás Hamana 21.09.2016 / 09:55

1 resposta

0
 sudo dpkg --configure -a

se não funcionar, então

 sudo apt-get autoremove <packagename>
 sudo apt-get autoclean
 sudo apt-get update
 sudo apt-get install --reinstall <packagename>

EDITAR: Se não funcionar, remova o arquivo sources.list e crie novas sources.list ...

sudo rm /etc/apt/sources.list 

Em seguida, digite

sudo software-properties-gtk 

Isto irá abrir o software-properties-gtk e um newsources.list será criado automaticamente.

Em seguida, altere o servidor para US ou para qualquer outro servidor de sua escolha. Você deve ativar os repositórios a partir do novo diálogo para criar novas sources.list.

Marque todas as caixas, clique em Reverter e, em seguida, clique em fechar.

Precisa restaurar repositórios padrão

 sudo apt-get update && sudo apt-get dist-upgrade -y

(é uma boa prática fazer backup desse arquivo antes de instalar para recuperar se isso acontecer)

    
por minigeek 21.09.2016 / 10:31