Debian Bug report logs -
#651973
BUILT_MODULE_NAME[#] required if linux-headers-* is installed/updated after the foo-dkms package
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Andreas Beckmann <debian@abeckmann.de>:
Bug#651973; Package r8168-dkms.
(Tue, 13 Dec 2011 18:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to pmatthaei@debian.org:
New Bug report received and forwarded. Copy sent to Andreas Beckmann <debian@abeckmann.de>.
(Tue, 13 Dec 2011 18:09:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: r8168-dkms
Version: 8.026.00-1
Severity: important
Hi,
in dkms.conf following line is missing:
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
So dkms.conf looks at the end like this:
PACKAGE_NAME="r8168"
PACKAGE_VERSION="8.026.00"
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
DEST_MODULE_LOCATION[0]="/updates/dkms"
AUTOINSTALL="YES"
REMAKE_INITRD="YES"
Else I get this warning/error on updating linux-headers-3.1.0-1-amd64:
linux-image-3.1.0-1-amd64 (3.1.5-1) wird eingerichtet ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.1.0-1-amd64
/boot/vmlinuz-3.1.0-1-amd64
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
Error! Bad conf file.
File:
does not represent a valid dkms.conf file.
--
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi
GNU/Linux Debian Developer
E-Mail: pmatthaei@debian.org
patrick@linux-dev.org
*/
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#651973; Package r8168-dkms.
(Wed, 14 Dec 2011 11:15:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Beckmann <debian@abeckmann.de>:
Extra info received and forwarded to list.
(Wed, 14 Dec 2011 11:15:06 GMT) (full text, mbox, link).
Message #10 received at 651973@bugs.debian.org (full text, mbox, reply):
reassign 651973 dkms 2.2.0.3-1
retitle 651973 BUILT_MODULE_NAME[#] required if linux-headers-* is installed/updated after the foo-dkms package
thanks
dkms(8):
BUILT_MODULE_NAME[#]=
... If your DKMS module package contains more than one module
to install, this is a required directive for all of the modules.
...
I interpret this as "if the dkms package builds exactly one module, the
BUILT_MODULE_NAME is optional", so I omitted that option for r8168.
This works fine if the dkms package is installed after the headers, but
not the other way around (e.g. on header updates).
Andreas
On 2011-12-13 19:05, Patrick Matthäi wrote:
> Package: r8168-dkms
> Version: 8.026.00-1
> Severity: important
>
> Hi,
>
> in dkms.conf following line is missing:
> BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
>
> So dkms.conf looks at the end like this:
> PACKAGE_NAME="r8168"
> PACKAGE_VERSION="8.026.00"
> BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
> DEST_MODULE_LOCATION[0]="/updates/dkms"
> AUTOINSTALL="YES"
> REMAKE_INITRD="YES"
>
> Else I get this warning/error on updating linux-headers-3.1.0-1-amd64:
>
> linux-image-3.1.0-1-amd64 (3.1.5-1) wird eingerichtet ...
> Running depmod.
> Examining /etc/kernel/postinst.d.
> run-parts: executing /etc/kernel/postinst.d/dkms 3.1.0-1-amd64
> /boot/vmlinuz-3.1.0-1-amd64
> dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
> Error! Bad conf file.
> File:
> does not represent a valid dkms.conf file.
>
>
Bug reassigned from package 'r8168-dkms' to 'dkms'.
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Wed, 14 Dec 2011 11:15:09 GMT) (full text, mbox, link).
Bug No longer marked as found in versions r8168/8.026.00-1.
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Wed, 14 Dec 2011 11:15:10 GMT) (full text, mbox, link).
Bug Marked as found in versions dkms/2.2.0.3-1.
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Wed, 14 Dec 2011 11:15:11 GMT) (full text, mbox, link).
Changed Bug title to 'BUILT_MODULE_NAME[#] required if linux-headers-* is installed/updated after the foo-dkms package' from 'Missing module name in dkms.conf'
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Wed, 14 Dec 2011 11:15:11 GMT) (full text, mbox, link).
Added indication that 651973 affects ndiswrapper-dkms
Request was from Jan Braun <janbraun@gmx.de>
to control@bugs.debian.org.
(Sat, 15 Jun 2013 13:45:04 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Oct 1 14:29:55 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.