kdelibs5-data 未满足的依赖关系

kdelibs5-data 未满足的依赖关系

可能重复:
我该如何解决未满足的依赖关系?

我尝试在 Ubuntu 12.04(Gnome-classic)上安装 Amarok 1.4,方法如下说明。给出这两个命令后,问题就开始了

dpkg -i kdelibs5-data_4.6.2-0ubuntu4_all.deb

dpkg -i kdelibs-data_3.5.10.dfsg.1-5ubuntu2_all.deb

现在,在执行这些命令后,Ubuntu Updater 会立即弹出并显示错误,提示软件包目录已损坏,需要修复。在此之前无法安装或删除任何内容。它还建议运行 apt-get install -f。

我尝试过,但再次出现相同的错误。还尝试过 apt-get clean 然后是 apt-get

install -f.
Again got the following output:

jitesh@jitesh-desktop:~$ sudo apt-get clean
jitesh@jitesh-desktop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  kdelibs5-data
The following packages will be upgraded:
  kdelibs5-data
1 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
2 not fully installed or removed.
Need to get 2,832 kB of archives.
After this operation, 2,998 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http: //in.archive.ubuntu.com/ubuntu/precise-updates/main kdelibs5-data all 4:4.8.4a-0ubuntu0.2 [2,832 kB]
Fetched 2,832 kB in 32s (86.6 kB/s)                                            
dpkg: dependency problems prevent configuration of kdelibs5-data:
 libplasma3 (4:4.8.4a-0ubuntu0.2) breaks kdelibs5-data (<< 4:4.6.80~) and is installed.
  Version of kdelibs5-data to be configured is 4:4.6.2-0ubuntu4.
 kate-data (4:4.8.4-0ubuntu0.1) breaks kdelibs5-data (<< 4:4.6.90) and is installed.
  Version of kdelibs5-data to be configured is 4:4.6.2-0ubuntu4.
 katepart (4:4.8.4-0ubuntu0.1) breaks kdelibs5-data (<< 4:4.6.90) and is installed.
  Version of kdelibs5-data to be configured is 4:4.6.2-0ubuntu4.
dpkg: error processing kdelibs5-data (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kdelibs-data:
 kdelibs-data depends on kdelibs5-data; however:
  Package kdelibs5-data is not configured yet.
No apport report written because MaxReports is reached already
                                                              dpkg: error processing kdelibs-data (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 kdelibs5-data
 kdelibs-data
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)

由于我认为错误与配置 kdelibs 有关,因此我尝试使用 dpkg 进行配置。但出现以下错误:

jitesh@jitesh-desktop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of kdelibs5-data:
 libplasma3 (4:4.8.4a-0ubuntu0.2) breaks kdelibs5-data (<< 4:4.6.80~) and is installed.
  Version of kdelibs5-data to be configured is 4:4.6.2-0ubuntu4.
 kate-data (4:4.8.4-0ubuntu0.1) breaks kdelibs5-data (<< 4:4.6.90) and is installed.
  Version of kdelibs5-data to be configured is 4:4.6.2-0ubuntu4.
 katepart (4:4.8.4-0ubuntu0.1) breaks kdelibs5-data (<< 4:4.6.90) and is installed.
  Version of kdelibs5-data to be configured is 4:4.6.2-0ubuntu4.
dpkg: error processing kdelibs5-data (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kdelibs-data:
 kdelibs-data depends on kdelibs5-data; however:
  Package kdelibs5-data is not configured yet.
dpkg: error processing kdelibs-data (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 kdelibs5-data
 kdelibs-data
jitesh@jitesh-desktop:~$ 

现在我不知道该怎么做。我现在无法从软件中心或使用终端安装任何东西。

一些基本信息:Core2Duo,双启动 Ubuntu 12.04 和 Win7。全新安装 Ubuntu 12.04(不是升级)。顺便说一句,我先从 10.04 升级,然后按照同样的方法成功安装了 Amarok 1.4。但由于其他问题,我不得不格式化并全新安装 12.04。现在,当我尝试安装 Amarok 1.4 时,出现了这些错误。我还安装了 digiKam 和 k3b,如果它们能有所帮助的话。我经常使用 digiKam,所以删除 KDE 对我来说是不可行的。

任何有关此问题的帮助都将不胜感激。提前致谢。

答案1

我刚才遇到了同样的问题。

突触,选择包裹破损并将它们标记为“完全删除”。这也会删除其他一些kde-packages,但只是笔记哪些然后重新安装它们。之后检查更新,然后一切都应该恢复到以前的样子(也许你丢失了 KDE 程序的一些配置数据)。

希望我能帮上忙。

相关内容