Running "apt-get autoremove" after a kernel update produces messages like this:
run-parts: executing /etc/kernel/postinst.d/dkms 4.2.0-19-generic /boot/vmlinuz-4.2.0-19-generic
Error! Could not locate dkms.conf file.
File: does not exist.
But dkms seems to be working fine -- virtualbox modules get rebuilt as they should be. There might be some other package which is broken with respect to dkms.conf, but the message gives no hint about where to look.
I tried to figure out where the message is coming from, but got no hits (other than log files) from
# find /boot /etc /lib* /bin /sbin /usr /var -type f -print0 | xargs -0 zgrep -l 'Error.*Could not locate'
I will attach /var/log/apt/term.log
ACTUAL RESULTS:
Error saying dkms.conf is missing
EXPECTED RESULTS:
No error, or else an error which indicates which module is broken or the path of the missing file
(If the underlying problem is not in the above postinst script, but in another module which produces the un-useful iagnostic, please redirect this bug to that package).
$ locate dkms.conf
/etc/modprobe.d/dkms.conf # this one is empty
/home/jima/flashcache/flashcache-wt/src/dkms.conf
/home/jima/flashcache/src/dkms.conf
/usr/share/virtualbox/src/vboxhost/dkms.conf
/usr/src/bbswitch-0.7/dkms.conf
/usr/src/nvidia-352-updates-352.63/dkms.conf
/var/lib/dkms/bbswitch/0.7/build/dkms.conf
/var/lib/dkms/nvidia-352-updates/352.63/build/dkms.conf
/var/lib/dkms/vboxhost/5.0.12/build/dkms.conf
/var/lib/dkms/vboxhost/5.0.9/build/dkms.conf
/var/lib/dkms_SAVE/vboxhost/4.3.10/build/dkms.conf
/var/lib/dpkg/info/dkms.conffiles # all files listed herein exist
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-extra-4.2.0-19-generic 4.2.0-19.23
ProcVersionSignature: Ubuntu 4.2.0-22.27-generic 4.2.6
Uname: Linux 4.2.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: jima 2484 F.... pulseaudio
/dev/snd/controlC0: jima 2484 F.... pulseaudio
CurrentDesktop: Unity
Date: Mon Dec 21 14:33:19 2015
HibernationDevice: RESUME=UUID=692a674b-d118-4d8a-906c-ecd9d1accff7
InstallationDate: Installed on 2013-08-06 (867 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: System manufacturer System Product Name
ProcFB:
SourcePackage: linux
UpgradeStatus: Upgraded to wily on 2015-11-09 (42 days ago)
dmi.bios.date: 09/21/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1408
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6T
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1408:bd09/21/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6T:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
Running "apt-get autoremove" after a kernel update produces messages like this:
run-parts: executing /etc/kernel/ postinst. d/dkms 4.2.0-19-generic /boot/vmlinuz- 4.2.0-19- generic
Error! Could not locate dkms.conf file.
File: does not exist.
But dkms seems to be working fine -- virtualbox modules get rebuilt as they should be. There might be some other package which is broken with respect to dkms.conf, but the message gives no hint about where to look.
I tried to figure out where the message is coming from, but got no hits (other than log files) from
# find /boot /etc /lib* /bin /sbin /usr /var -type f -print0 | xargs -0 zgrep -l 'Error.*Could not locate'
I will attach /var/log/ apt/term. log
ACTUAL RESULTS:
Error saying dkms.conf is missing
EXPECTED RESULTS:
No error, or else an error which indicates which module is broken or the path of the missing file
(If the underlying problem is not in the above postinst script, but in another module which produces the un-useful iagnostic, please redirect this bug to that package).
$ locate dkms.conf d/dkms. conf # this one is empty flashcache/ flashcache- wt/src/ dkms.conf flashcache/ src/dkms. conf virtualbox/ src/vboxhost/ dkms.conf bbswitch- 0.7/dkms. conf nvidia- 352-updates- 352.63/ dkms.conf dkms/bbswitch/ 0.7/build/ dkms.conf dkms/nvidia- 352-updates/ 352.63/ build/dkms. conf dkms/vboxhost/ 5.0.12/ build/dkms. conf dkms/vboxhost/ 5.0.9/build/ dkms.conf dkms_SAVE/ vboxhost/ 4.3.10/ build/dkms. conf dpkg/info/ dkms.conffiles # all files listed herein exist
/etc/modprobe.
/home/jima/
/home/jima/
/usr/share/
/usr/src/
/usr/src/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
ProblemType: Bug extra-4. 2.0-19- generic 4.2.0-19.23 ature: Ubuntu 4.2.0-22.27-generic 4.2.6 dules: nvidia controlC1: jima 2484 F.... pulseaudio controlC0: jima 2484 F.... pulseaudio UUID=692a674b- d118-4d8a- 906c-ecd9d1accf f7
DistroRelease: Ubuntu 15.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.2.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: Unity
Date: Mon Dec 21 14:33:19 2015
HibernationDevice: RESUME=
InstallationDate: Installed on 2013-08-06 (867 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: System manufacturer System Product Name
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE= /boot/vmlinuz- 4.2.0-22- generic root=UUID= cb77f6cf- d3da-493f- bad6-2c7bdf5f15 50 ro quiet splash ersions: restricted- modules- 4.2.0-22- generic N/A backports- modules- 4.2.0-22- generic N/A
RelatedPackageV
linux-
linux-
linux-firmware 1.149.3
RfKill:
SourcePackage: linux asset.tag: To Be Filled By O.E.M. asset.tag: Asset-1234567890 version: Chassis Version MegatrendsInc. :bvr1408: bd09/21/ 2010:svnSystemm anufacturer: pnSystemProduct Name:pvrSystemV ersion: rvnASUSTeKCompu terINC. :rnP6T: rvrRev1. xx:cvnChassisMa nufacture: ct3:cvrChassisV ersion: version: System Version
UpgradeStatus: Upgraded to wily on 2015-11-09 (42 days ago)
dmi.bios.date: 09/21/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1408
dmi.board.
dmi.board.name: P6T
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer