/etc/kernel/header_postinst.d/dkms exited with return code 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: dkms
Ubuntu: 10.04.01 / 2.6.32-24-generic
Package: dkms
Installé : 2.1.1.2-2fakesync1
Candidat : 2.1.1.2-2fakesync1
Table de version :
*** 2.1.1.2-2fakesync1 0
500 http://
100 /var/lib/
== DESCRIPTION ==
In the script /usr/lib/
This leads to errors like
run-parts: /etc/kernel/
when installing kernel packages with this file missing.
One would expect the missing file to be silently ignored, or a more explicit error message to be generated.
== HOW TO REPRODUCE ==
Executing:
mv /etc/dkms/
dpkg-reconfigure linux-headers-
will generate a quite obscure error:
run-parts: /etc/kernel/
== FIX ==
See attached patch which tests existence of the configuration file before sourcing it. Since the file seems to be used to potentially override default values, we silently ignore it when missing.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dkms 2.1.1.2-2fakesync1
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelMo
Architecture: i386
Date: Wed Aug 4 12:53:55 2010
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=fr_FR.utf8
SHELL=/bin/zsh
SourcePackage: dkms
Related branches
- Benjamin Drung: Approve
- Daniel Holbach (community): Needs Information
- Ubuntu branches: Pending requested
-
Diff: 28 lines (+9/-1)2 files modifieddebian/changelog (+8/-0)
dkms_autoinstaller (+1/-1)
tags: | added: patch |
Looks like this is the same problem in bug #612309 since /etc/kernel/ postinst. d/dkms is actually a wrapper for /usr/lib/ dkms/dkms_ autoinstaller. Marking #612309 as a duplicate.