升级到 13.10 64 位后,我无法更新内核

升级到 13.10 64 位后,我无法更新内核

升级很顺利。然而,当我尝试更新内核时,出现了错误:

E: linux-image-3.11.0-12-generic: subprocess installed
   post-installation script returned error exit status 2  
E: linux-image-extra-3.11.0-12-generic: dependency problems - leaving unconfigured  
E: linux-image-generic: dependency problems - leaving unconfigured  
E: linux-generic: dependency problems - leaving unconfigured

Selecting previously unselected package linux-image-3.11.0-12-generic.
(Reading database ... 570374 files and directories currently installed.)
Unpacking linux-image-3.11.0-12-generic (from .../linux-image-3.11.0-12-generic_3.11.0-12.19_amd64.deb) ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
Done.
Selecting previously unselected package linux-image-extra-3.11.0-12-generic.
Unpacking linux-image-extra-3.11.0-12-generic (from .../linux-image-extra-3.11.0-12-generic_3.11.0-12.19_amd64.deb) ...
Selecting previously unselected package linux-image-generic.
Unpacking linux-image-generic (from .../linux-image-generic_3.11.0.12.13_amd64.deb) ...
Selecting previously unselected package linux-headers-3.11.0-12-generic.
Unpacking linux-headers-3.11.0-12-generic (from .../linux-headers-3.11.0-12-generic_3.11.0-12.19_amd64.deb) ...
Selecting previously unselected package linux-headers-generic.
Unpacking linux-headers-generic (from .../linux-headers-generic_3.11.0.12.13_amd64.deb) ...
Selecting previously unselected package linux-generic.
Unpacking linux-generic (from .../linux-generic_3.11.0.12.13_amd64.deb) ...
Setting up linux-image-3.11.0-12-generic (3.11.0-12.19) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-12-generic
/usr/share/initramfs-tools/hooks/intel_microcode: 136: /usr/share/initramfs-tools/hooks/intel_microcode: prepend_earlyinitramfs: not found
E: intel-microcode: failed to prepend early firmware to initramfs
W: intel-microcode: will try to use late initramfs update mode...
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postinst.d/update-nvidia 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: failed to exec /etc/kernel/postinst.d/update-nvidia: No such file or directory
run-parts: /etc/kernel/postinst.d/update-nvidia exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.11.0-12-generic.postinst line 1010.
dpkg: error processing linux-image-3.11.0-12-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports has already been reached
                                                                    dpkg: dependency problems prevent configuration of linux-image-extra-3.11.0-12-generic:
 linux-image-extra-3.11.0-12-generic depends on linux-image-3.11.0-12-generic; however:
  Package linux-image-3.11.0-12-generic is not configured yet.

dpkg: error processing linux-image-extra-3.11.0-12-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.11.0-12-generic; however:
  Package linux-image-3.11.0-12-generic is not configured yet.
 linux-image-generic depends on linux-image-extra-3.11.0-12-generic; however:
  Package linux-image-extra-3.11.0-12-generic is not configured yet.

dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Setting up linux-headers-3.11.0-12-generic (3.11.0-12.19) ...
No apport report written because MaxReports has already been reached
                                                                    No apport report written because MaxReports has already been reached
                                                        Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
Setting up linux-headers-generic (3.11.0.12.13) ...
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.11.0.12.13); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
                                                                    Errors were encountered while processing:
 linux-image-3.11.0-12-generic
 linux-image-extra-3.11.0-12-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-image-3.11.0-12-generic (3.11.0-12.19) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
update-initramfs: Generating /boot/initrd.img-3.11.0-12-generic
/usr/share/initramfs-tools/hooks/intel_microcode: 136: /usr/share/initramfs-tools/hooks/intel_microcode: prepend_earlyinitramfs: not found
E: intel-microcode: failed to prepend early firmware to initramfs
W: intel-microcode: will try to use late initramfs update mode...
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: executing /etc/kernel/postinst.d/update-nvidia 3.11.0-12-generic /boot/vmlinuz-3.11.0-12-generic
run-parts: failed to exec /etc/kernel/postinst.d/update-nvidia: No such file or directory
run-parts: /etc/kernel/postinst.d/update-nvidia exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.11.0-12-generic.postinst line 1010.
dpkg: error processing linux-image-3.11.0-12-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.11.0-12-generic:
 linux-image-extra-3.11.0-12-generic depends on linux-image-3.11.0-12-generic; however:
  Package linux-image-3.11.0-12-generic is not configured yet.

dpkg: error processing linux-image-extra-3.11.0-12-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.11.0-12-generic; however:
  Package linux-image-3.11.0-12-generic is not configured yet.
 linux-image-generic depends on linux-image-extra-3.11.0-12-generic; however:
  Package linux-image-extra-3.11.0-12-generic is not configured yet.

dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.11.0.12.13); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-3.11.0-12-generic
 linux-image-extra-3.11.0-12-generic
 linux-image-generic
 linux-generic
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 pst007x@pst007x-Serval-Professional:~$ 

我努力了:

sudo dpkg --configure -a

在 Synaptic 中我收到此错误:

E: linux-image-3.11.0-12-generic: subprocess installed post-installation script returned error exit status 2
E: linux-image-extra-3.11.0-12-generic: dependency problems - leaving unconfigured
E: linux-image-generic: dependency problems - leaving unconfigured
E: linux-generic: dependency problems - leaving unconfigured
E: linux: dependency problems - leaving unconfigured
E: linux-image: dependency problems - leaving unconfigured

当我尝试使用 .deb 安装时,出现了未满足的依赖关系...

通过软件中心安装:

https://dl.dropboxusercontent.com/u/18097110/Selection_014.png

有什么想法吗?

谢谢

编辑:

我尝试过手动安装,尝试了几个不同的内核,都说了同样的事情。我猜想某个地方有一个共同的依赖关系。你知道所有内核都有什么共同点吗?

https://dl.dropboxusercontent.com/u/18097110/Selection_011.png

我在 VirtualBox 中安装了 Ubuntu 13.10 来检查依赖项。所有依赖项均正常。

可能是一个错误,我已在这里报告:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1242210

我安装了不同的内核,但问题依旧:3.11.6-031106-generic

它似乎不是内核特有的,而是包中缺少某些东西。

我尝试手动安装所有依赖项,但仍然无济于事。

哇,没人有想法吗?有人能帮忙吗?拜托 :)

答案1

我启动系统进入控制台。卸载内核、卸载 Unity、清除 Gnome、卸载 Nvidia。然后重新安装所有内容,它便开始工作了。我不会向任何人推荐这个!

最后系统运行正常,但出现了一些应用程序错误。因此我决定在备份所有内容后重新安装。

相关内容