Je voulais essayer une application (Kamoso) mais son installation a échoué et une icône de la barre d'état système me dit maintenant:
Une erreur s'est produite ... lancez le gestionnaire de paquets ou apt-get pour voir ce qui ne va pas. Erreur: BrokenCount> 0
$ Sudo apt-get -f install
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 10 not upgraded.
2 not fully installed or removed.
Need to get 0 B/148 kB of archives.
After this operation, 808 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 1330003 files and directories currently installed.)
Preparing to unpack .../kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_i386.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_i386.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-0ubuntu7) ...
Errors were encountered while processing:
/var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Le centre de logiciel Ubuntu ne parvient pas à réparer:
installArchives() failed: (Reading database ...
(Reading database ... 100%
(Reading database ... 1330003 files and directories currently installed.)
Preparing to unpack .../kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_i386.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_i386.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-0ubuntu7) ...
Errors were encountered while processing:
/var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_i386.deb
dpkg: dependency problems prevent configuration of kde-telepathy-minimal:
kde-telepathy-minimal depends on kde-config-telepathy-accounts (>= 15.04.0); however:
Package kde-config-telepathy-accounts is not installed.
dpkg: error processing package kde-telepathy-minimal (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kde-telepathy:
kde-telepathy depends on kde-telepathy-minimal (= 15.04.20ubuntu1); however:
Package kde-telepathy-minimal is not configured yet.
dpkg: error processing package kde-telepathy (--configure):
dependency problems - leaving unconfigured
J'ai essayé de supprimer ou de purger kde-telepathy-minimal ou kde-telepathy:
$ Sudo apt-get purge kde-telepathy
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).
Pourriez-vous s'il vous plaît m'aider à supprimer l'un de ces packages, en tant que solution pour nettoyer cette installation endommagée et permettre au gestionnaire de packages de fonctionner à nouveau?
Merci à @ user535733 pour le commentaire utile : "Utilisez dpkg pour désinstaller le paquet en cause, puis utilisez apt pour nettoyer les dépendances"
Voici comment j'ai supprimé les packages en conflit:
$ Sudo dpkg --remove kde-telepathy
(Reading database ... 1330002 files and directories currently installed.)
Removing kde-telepathy (15.04.20ubuntu1) ...
$ Sudo dpkg --remove kde-telepathy-minimal
(Reading database ... 1329999 files and directories currently installed.)
Removing kde-telepathy-minimal (15.04.20ubuntu1) ...
Après j'ai nettoyé avec
Sudo apt autoremove