AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 787946
Accepted
basil
basil
Asked: 2016-06-17 14:42:29 +0800 CST2016-06-17 14:42:29 +0800 CST 2016-06-17 14:42:29 +0800 CST

未满足的依赖关系和可能的冲突?[复制]

  • 772
这个问题在这里已经有了答案:
“未满足的依赖关系”尝试在 Ubuntu 15.04 上安装 KDE Plasma 5.3 时 3 个答案
6年前关闭。

似乎我在某个地方搞砸了,现在我无法再安装任何东西,而不会出现以下消息:

 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 的解决方案解决了问题

apt
  • 1 1 个回答
  • 397 Views

1 个回答

  • Voted
  1. Best Answer
    Motte001
    2016-06-18T05:49:52+08:002016-06-18T05:49:52+08:00

    我在安装时遇到了同样的问题kubuntu-desktop。我在 Askubuntu 上找到了修复程序。

    在此处填写:https ://askubuntu.com/a/621295/532133

    sudo dpkg -P unity-scope-gdrive
    sudo dpkg -P account-plugin-google
    sudo dpkg -P account-plugin-facebook
    sudo apt-get install -f
    
    • 1

相关问题

  • 如何编写 shell 脚本来安装应用程序列表?

  • 如何查看存档中可用的软件包的所有版本?

  • 是否可以说出我安装的哪些软件包不在原版安装中?

  • 如何删除 PPA?

  • 使用 apt-get upgrade 时如何强制安装内核更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve