14.04 LTS 内核/dpkg 上的 apt-get 错误

14.04 LTS 内核/dpkg 上的 apt-get 错误

我在 Dell XPS 上运行 14.04 LTS,最近使用时出现问题apt-get

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up oem-audio-hda-daily-lts-xenial-dkms 
(0.201611160201~ubuntu14.04.1) ...
Removing old oem-audio-hda-daily-lts-xenial- 
0.201611160201~ubuntu14.04.1 DKMS files...

------------------------------
Deleting module version: 0.201611160201~ubuntu14.04.1
completely from the DKMS tree.
------------------------------
Done.
Loading new oem-audio-hda-daily-lts-xenial- 
0.201611160201~ubuntu14.04.1 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-116-generic
Building for architecture x86_64
Building initial module for 4.4.0-116-generic





Error! Bad return status for module build on kernel: 4.4.0-116-generic (x86_64)
Consult /var/lib/dkms/oem-audio-hda-daily-lts-xenial/0.201611160201~ubuntu14.04.1/build/make.log for more information.
dpkg: error processing package oem-audio-hda-daily-lts-xenial-dkms (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 oem-audio-hda-daily-lts-xenial-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

由于这个原因,我目前无法更新/删除任何内容。我尝试修复依赖关系,但目前还没有成功。

答案1

清除有问题的包后,问题似乎已经解决:

$ sudo apt-get purge oem-audio-hda-daily-lts-xenial-dkms

不确定它为什么会坏掉以及如何坏掉。

相关内容