[Pkg-dkms-maint] Bug#784127: fails to recognize installed headers from kernel-package builds

Eduard Bloch edi at gmx.de
Sun May 3 10:32:50 UTC 2015


Package: dkms
Version: 2.2.0.3-2
Severity: important

Repro:
$ git checkout v4.1-rc1 
$ fakeroot make-kpkg linux_image linux_headers --initrd
...
$ sudo dpkg -i ../linux-headers-4.1.0-rc1+_4.1.0-rc1-10.Local.00_amd64.deb
...
linux-headers-4.1.0-rc1+ (4.1.0-rc1-10.Local.00) wird eingerichtet ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.1.0-rc1+ /boot/vmlinuz-4.1.0-rc1+
Error! Your kernel headers for kernel 4.1.0-rc1+ cannot be found.
Please install the linux-headers-4.1.0-rc1+ package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Your kernel headers for kernel 4.1.0-rc1+ cannot be found.
Please install the linux-headers-4.1.0-rc1+ package,
or use the --kernelsourcedir option to tell DKMS where it's located

Seriously?

$ dpkg -L linux-headers-4.1.0-rc1+ | grep usr.src.lin.*h | wc -l
15074
All there! Are they ok?
$ sudo m-a build -vt --kernel-dir /usr/src/linux-headers-4.1.0-rc1+ virtualbox
(works, except for an API bug which I was just looking for)

So, what is wrong with dkms?

Regards,
Eduard.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-rc6+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages dkms depends on:
ii  build-essential  11.7
ii  coreutils        8.23-4
ii  dpkg-dev         1.17.25
ii  gcc              4:4.9.2-3
ii  kmod             20-1
ii  make             4.0-8.1
ii  patch            2.7.5-1

Versions of packages dkms recommends:
ii  fakeroot                                   1.20.2-1
ii  linux-headers-3.18.0+ [linux-headers]      3.18.0-10.Local.00
ii  linux-headers-3.18.0-rc4+ [linux-headers]  3.18.0-rc4-10.Local.00
ii  linux-headers-3.18.0-rc6+ [linux-headers]  3.18.0-rc6-10.Local.00
ii  linux-headers-3.18.1+ [linux-headers]      3.18.1-10.Local.00
ii  linux-headers-3.19.0+ [linux-headers]      3.19.0-10.Local.00
ii  linux-headers-3.19.0-rc3+ [linux-headers]  3.19.0-rc3-10.Local.00
ii  linux-headers-3.19.0-rc5+ [linux-headers]  3.19.0-rc5-10.Local.00
ii  linux-headers-3.19.1+ [linux-headers]      3.19.1-10.Local.00
ii  linux-headers-3.19.2+ [linux-headers]      3.19.2-10.Local.00
ii  linux-headers-4.0.0+ [linux-headers]       4.0.0-10.Local.00
ii  linux-headers-4.0.0-rc6+ [linux-headers]   4.0.0-rc6-10.Local.00
ii  linux-headers-4.1.0-rc1+ [linux-headers]   4.1.0-rc1-10.Local.00
ii  linux-image-3.12.31+ [linux-image]         3.12.31-10.Local.00
ii  linux-image-3.16.2+ [linux-image]          3.16.2-10.Local.00
ii  linux-image-3.18.1+ [linux-image]          3.18.1-10.Local.00
ii  linux-image-3.19.0+ [linux-image]          3.19.0-10.Local.00
ii  linux-image-3.19.1+ [linux-image]          3.19.1-10.Local.00
ii  linux-image-3.19.2+ [linux-image]          3.19.2-10.Local.00
ii  linux-image-4.0.0+ [linux-image]           4.0.0-10.Local.00
ii  linux-image-4.0.0-rc6+ [linux-image]       4.0.0-rc6-10.Local.00
ii  menu                                       2.1.47
ii  sudo                                       1.8.12-1

dkms suggests no packages.

-- no debconf information

-- 
<andreasj> Und vorher mal dpkg-reconfigure locales
<Razul> [ ] aa_DJ ISO-8859-1
<Razul> ist das für deutsch?



More information about the Pkg-dkms-maint mailing list