小编Sim*_*man的帖子

由于依赖项和配置问题,内核安装失败导致 apt 和 dpkg 失败

我见过一些类似的问题,但我见过的问题都没有解决我的问题。在 Ubuntu 12.04 上从linux-image-3.2.0-36-generic到的内核升级期间发生错误linux-image-3.2.0-38-generic。使用3.2.0-38.

在`3.2.0-36 下启动系统正常启动。但是,当我尝试删除干净或配置受影响的内核包时,它会引发以下错误:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
initramfs-tools : Depends: initramfs-tools-bin (< 0.99ubuntu13.1~) but 0.99ubuntu13.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)

Attempting sudo apt-get -f install, 遇到没有成功引用依赖和配置问题,在包恢复后:

dpkg: dependency problems prevent configuration of initramfs-tools: …
Run Code Online (Sandbox Code Playgroud)

upgrade apt dpkg kernel 12.04

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

12.04 ×1

apt ×1

dpkg ×1

kernel ×1

upgrade ×1