损坏的依赖关系 12.04

损坏的依赖关系 12.04

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

当我尝试更新或安装新软件包时,它会弹出一条错误消息,告诉我软件包目录需要修复,我单击修复,然后它告诉我无法修复。

The following packages have unmet dependencies:

initramfs-tools: Depends: initramfs-tools-bin (>= 0.99ubuntu13) but
0.99ubuntu13.1 is installed
                 Depends: klibc-utils (>= 1.5.9-1) but 1.5.25-1ubuntu2 is installed
                 Depends: busybox-initramfs (>= 1:1.13.3-1ubuntu5) but 1:1.18.5-1ubuntu4.1 is installed
                 Depends: udev (>= 147~-5) but 175-0ubuntu9.2 is installed
                 Depends: findutils (>= 4.2.24) but 4.4.2-4ubuntu1 is installed
                 Depends: util-linux (> 2.15~rc1) but 2.20.1-1ubuntu3 is installed

执行时sudo apt-get -f install输出

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  initramfs-tools
The following packages will be upgraded:
  initramfs-tools
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/49.0 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of initramfs-tools:
 initramfs-tools depends on initramfs-tools-bin (<< 0.99ubuntu13.1~); however:
  Version of initramfs-tools-bin on system is 0.99ubuntu13.1.
dpkg: error processing initramfs-tools (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of plymouth:
 plymouth depends on initramfs-tools; however:
  Package initramfs-tools is not configured yet.
dpkg: error processing plymouth (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of plymouth-label:
 plymouth-label depends on plymouth (= 0.8.2-2ubuntu31); however:
  Package plymouth is not configured yet.
dpkg: error processing plymouth-label (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 initramfs-tools
 plymouth
 plymouth-label
E: Sub-process /usr/bin/dpkg returned an error code (1)

我试过了维护命令 - AptGet/Howto - 社区帮助 Wiki但它不起作用。

我该如何修复这个错误?

答案1

检查 /boot 中是否有足够的可用空间。就我而言,我通过 Synaptic 包管理器清除了旧内核映像,从而消除了完全相同的错误消息。

相关内容