DKMS:安装失败

DKMS:安装失败

每次我升级系统并且内核更新时,我都会在 APT 日志中看到以下错误:

run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-55-generic /boot/vmlinuz-3.13.0-55-generic
Error! Problems with depmod detected.  Automatically uninstalling this module.
DKMS: Install Failed (depmod problems).  Module rolled back to built state.

是什么原因造成的?这意味着什么?我需要修复它吗?我该如何修复它?

编辑:

以下是 的输出dkms status

$ dkms status
bbswitch, 0.7, 3.13.0-51-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-52-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-53-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-54-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-55-generic, x86_64: installed
bbswitch, 0.7, 3.16.0-34-generic, x86_64: installed
bbswitch, 0.7, 3.16.0-36-generic, x86_64: installed
bbswitch, 0.7, 3.16.0-37-generic, x86_64: installed
bbswitch, 0.7, 3.16.0-38-generic, x86_64: installed
bbswitch, 0.7, 3.16.0-39-generic, x86_64: installed
bbswitch, 0.7, 3.16.0-41-generic, x86_64: installed
nvidia-349, 349.16, 3.13.0-51-generic, x86_64: installed
nvidia-349, 349.16, 3.13.0-52-generic, x86_64: installed
nvidia-349, 349.16, 3.13.0-53-generic, x86_64: installed
nvidia-349, 349.16, 3.13.0-54-generic, x86_64: installed
nvidia-349, 349.16, 3.13.0-55-generic, x86_64: installed
nvidia-349, 349.16, 3.16.0-34-generic, x86_64: installed
nvidia-349, 349.16, 3.16.0-36-generic, x86_64: installed
nvidia-349, 349.16, 3.16.0-37-generic, x86_64: installed
nvidia-349, 349.16, 3.16.0-38-generic, x86_64: installed
nvidia-349, 349.16, 3.16.0-39-generic, x86_64: installed
nvidia-349, 349.16, 3.16.0-41-generic, x86_64: installed
virtualbox, 4.3.10, 3.13.0-54-generic, x86_64: installed
virtualbox, 4.3.10, 3.13.0-55-generic, x86_64: installed
virtualbox, 4.3.10, 3.16.0-34-generic, x86_64: installed
virtualbox, 4.3.10, 3.16.0-39-generic, x86_64: built
virtualbox, 4.3.10, 3.16.0-41-generic, x86_64: installed

答案1

看起来您使用的Ubuntu 14.04是内核3.16

但是您仍然有3.13下载并安装这些内核的内核元包。

一些 DKMS 模块无法与这些内核一起构建。更准确地说,它们可以构建但无法正确安装。

我建议3.13 meta packages删除

 sudo apt-get remove linux-generic linux-headers-generic linux-image-generic

您还可以安装 Synaptic 并删除不需要的 3.13 Linux 映像和标题。

相关内容