web-dev-qa-db-fra.com

Dépendances non satisfaites et conflits possibles?

Il semble que j'ai gâché quelque part le long de la ligne et maintenant je ne peux plus rien installer sans que le message suivant apparaisse:

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

Je suis ensuite les instructions et je rencontre les informations suivantes:

 $ 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 79 not upgraded.
 695 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 ... 271701 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)

Comment puis-je réparer ça?

modifier 1, sortie du commentaire 1:

 $ Sudo apt-get -s -o Debug::pkgProblemResolver=yes install kde-telepathy-minimal 
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 kde-telepathy-minimal is already the newest version (15.04.20ubuntu1).
 kde-telepathy-minimal set to manually installed.
 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).

modifier 2:

 $ Sudo dpkg -Pa
 $ Sudo apt-get update
 Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
 Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]   
 Hit:3 http://ppa.launchpad.net/system76-dev/stable/ubuntu xenial InRelease     
 Hit:4 http://archive.canonical.com/ubuntu xenial InRelease                     
 Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease           
 Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main AMD64 Packages [213 kB]
 Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]    
 Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [209 kB]
 Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe AMD64 Packages [97.1 kB]
 Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [94.3 kB]
 Fetched 802 kB in 3s (230 kB/s)                        
 Reading package lists... Done
 W: Target Packages (partner/binary-AMD64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target DEP-11 (partner/dep11/Components-AMD64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Packages (partner/binary-AMD64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target DEP-11 (partner/dep11/Components-AMD64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
 W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4

edit 3: La solution de Motte001 a résolu le problème

3
basil

J'ai eu le même problème lors de l'installation de kubuntu-desktop. J'ai trouvé le correctif sur Askubuntu.

Formulaire ici: https://askubuntu.com/a/621295/5321

Sudo dpkg -P unity-scope-gdrive
Sudo dpkg -P account-plugin-google
Sudo dpkg -P account-plugin-facebook
Sudo apt-get install -f
1
Motte001