web-dev-qa-db-ja.com

満たされていない依存関係と起こり得る競合?

私は線のどこかをめちゃくちゃにしたようで、今は次のメッセージが表示されなければ何もインストールできません:

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

それから私は指示に従い、以下に会います:

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

どうすれば修正できますか?

編集1、コメント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).

編集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

編集3:Motte001のソリューションで問題が修正されました

3
basil

kubuntu-desktopをインストールすると、同じ問題が発生しました。 Askubuntuで修正を見つけました。

ここにフォーム: 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