Debian Bug report logs - #843113
better missing kernel headers message

version graph

Package: dkms; Maintainer for dkms is Dynamic Kernel Module System Team <dkms@packages.debian.org>; Source for dkms is src:dkms (PTS, buildd, popcon).

Reported by: 積丹尼 Dan Jacobson <jidanni@jidanni.org>

Date: Thu, 3 Nov 2016 23:39:02 UTC

Severity: wishlist

Found in version dkms/2.8.4-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#843113; Package src:linux. (Thu, 03 Nov 2016 23:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
New Bug report received and forwarded. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Thu, 03 Nov 2016 23:39:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: 積丹尼 Dan Jacobson <jidanni@jidanni.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: better missing kernel headers message
Date: Fri, 04 Nov 2016 07:37:52 +0800
Package: src:linux
Version: 4.8.5-1
Severity: wishlist

Setting up linux-image-4.8.0-1-686-pae (4.8.5-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.7.0-1-686-pae
I: /initrd.img.old is now a symlink to boot/initrd.img-4.7.0-1-686-pae
I: /vmlinuz is now a symlink to boot/vmlinuz-4.8.0-1-686-pae
I: /initrd.img is now a symlink to boot/initrd.img-4.8.0-1-686-pae
/etc/kernel/postinst.d/dkms:
Error! Your kernel headers for kernel 4.8.0-1-686-pae cannot be found.
Please install the linux-headers-4.8.0-1-686-pae package,
or use the --kernelsourcedir option to tell DKMS where it's located

1. That error message is not coming from that file. In fact from no
file with dkms in its name:
$ dlocate --filename-only dkms|xargs grep Error.*You 2>&-|wc -l
0

2. Please also have the message mention if one then needs to reinstall
linux-image-4.8.0-1-686-pae .

(Seen when offine installing from a /var/cache/apt/archives/ that has
some, but not all packages...)



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#843113; Package src:linux. (Fri, 04 Nov 2016 00:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>. (Fri, 04 Nov 2016 00:09:03 GMT) (full text, mbox, link).


Message #10 received at 843113@bugs.debian.org (full text, mbox, reply):

From: Ben Hutchings <ben@decadent.org.uk>
To: 積丹尼 Dan Jacobson <jidanni@jidanni.org>, 843113@bugs.debian.org
Cc: dkms@packages.debian.org
Subject: Re: Bug#843113: better missing kernel headers message
Date: Thu, 03 Nov 2016 18:04:39 -0600
[Message part 1 (text/plain, inline)]
Control: reassign -1 dkms

On Fri, 2016-11-04 at 07:37 +0800, 積丹尼 Dan Jacobson wrote:
> Package: src:linux
> Version: 4.8.5-1
> Severity: wishlist
> 
> Setting up linux-image-4.8.0-1-686-pae (4.8.5-1) ...
> I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.7.0-1-686-pae
> I: /initrd.img.old is now a symlink to boot/initrd.img-4.7.0-1-686-pae
> I: /vmlinuz is now a symlink to boot/vmlinuz-4.8.0-1-686-pae
> I: /initrd.img is now a symlink to boot/initrd.img-4.8.0-1-686-pae
> /etc/kernel/postinst.d/dkms:
> Error! Your kernel headers for kernel 4.8.0-1-686-pae cannot be found.
> Please install the linux-headers-4.8.0-1-686-pae package,
> or use the --kernelsourcedir option to tell DKMS where it's located
> 
> 1. That error message is not coming from that file.
[...]

That's the hook script the kernel's postint script is running, that
(indirectly) generates the error message.  The error message *does*
come from dkms.

Ben.

-- 
Ben Hutchings
The world is coming to an end.	Please log off.
[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package 'src:linux' to 'dkms'. Request was from Ben Hutchings <ben@decadent.org.uk> to 843113-submit@bugs.debian.org. (Fri, 04 Nov 2016 00:09:03 GMT) (full text, mbox, link).


No longer marked as found in versions linux/4.8.5-1. Request was from Ben Hutchings <ben@decadent.org.uk> to 843113-submit@bugs.debian.org. (Fri, 04 Nov 2016 00:09:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <dkms@packages.debian.org>:
Bug#843113; Package dkms. (Thu, 28 Jan 2021 16:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Fabian Wolff <fabi.wolff@arcor.de>:
Extra info received and forwarded to list. Copy sent to Dynamic Kernel Modules Support Team <dkms@packages.debian.org>. (Thu, 28 Jan 2021 16:45:05 GMT) (full text, mbox, link).


Message #19 received at 843113@bugs.debian.org (full text, mbox, reply):

From: Fabian Wolff <fabi.wolff@arcor.de>
To: 843113@bugs.debian.org, jidanni@jidanni.org
Subject: Re: Bug#843113: better missing kernel headers message
Date: Thu, 28 Jan 2021 17:35:37 +0100
Control: found -1 2.8.4-1

I've encountered a similar issue today:

  Setting up linux-image-5.10.0-2-amd64 (5.10.9-1) ...
  I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.10.0-1-amd64
  I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-1-amd64
  I: /vmlinuz is now a symlink to boot/vmlinuz-5.10.0-2-amd64
  I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-2-amd64
  /etc/kernel/postinst.d/dkms:
  dkms: WARNING: Linux headers are missing, which may explain the above failures.
        please install the linux-headers-5.10.0-2-amd64 package to fix this.

There are no "above failures", so reading this warning message is
somewhat misleading. Of course, if dkms needs some extra package, it
should ideally depend on it in some way, but this seems to be
nontrivial and is already covered by other bug reports, such as
#762061 and #951404.

But perhaps it is possible to make the above warning conditional and
only print it if there actually were any errors?



Marked as found in versions dkms/2.8.4-1. Request was from Fabian Wolff <fabi.wolff@arcor.de> to 843113-submit@bugs.debian.org. (Thu, 28 Jan 2021 16:45:05 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: Sun Jul 2 06:26:43 2023; Machine Name: bembo

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.