[Pkg-dkms-maint] Bug#540034: install failure

Harald Dunkel harald.dunkel at aixigo.de
Wed Aug 5 09:47:40 UTC 2009


Package: dkms
Version: 2.0.22.0-1

Trying to install drbd8-source I get an error message from
dkms about missing kernel headers (see attachment). Of
course the kernel headers _are_ installed in the usual
location:

# dpkg -S /lib/modules/2.6.30.4/build
raw-kernel-headers-2.6.30.4: /lib/modules/2.6.30.4/build
# ls -al /lib/modules/2.6.30.4/build
lrwxrwxrwx 1 root root 31 Aug  5 09:35 /lib/modules/2.6.30.4/build -> /usr/src/linux-headers-2.6.30.4
# ls -alL /lib/modules/2.6.30.4/build
total 1103
drwxr-xr-x 22 root root    904 Aug  5 09:35 .
drwxrwsr-x  4 root src     120 Aug  5 11:26 ..
-rw-r--r--  1 root root  95398 Aug  5 09:22 .config
-rw-r--r--  1 root root  95398 Aug  5 09:22 .config.old
-rw-r--r--  1 root root    885 Jul 31 00:34 .gitignore
-rw-r--r--  1 root root   4021 Jul 31 00:34 .mailmap
-rw-r--r--  1 root root    441 Aug  5 09:22 .missing-syscalls.d
drwxr-xr-x  2 root root     48 Aug  5 09:22 .tmp_versions
-rw-r--r--  1 root root  18693 Jul 31 00:34 COPYING
-rw-r--r--  1 root root  93847 Jul 31 00:34 CREDITS
-rw-r--r--  1 root root   2430 Jul 31 00:34 Kbuild
-rw-r--r--  1 root root 148271 Jul 31 00:34 MAINTAINERS
-rw-r--r--  1 root root  55181 Jul 31 00:34 Makefile
-rw-r--r--  1 root root 556049 Aug  5 09:19 Module.symvers
-rw-r--r--  1 root root  17080 Jul 31 00:34 README
-rw-r--r--  1 root root   3172 Jul 31 00:34 REPORTING-BUGS
drwxr-xr-x 24 root root    648 Aug  5 09:34 arch
drwxr-xr-x  2 root root    152 Aug  5 09:34 block
drwxr-xr-x  3 root root    232 Aug  5 09:34 crypto
drwxr-xr-x 84 root root   2136 Aug  5 09:34 drivers
drwxr-xr-x 33 root root   1320 Aug  5 09:34 firmware
drwxr-xr-x 70 root root   1888 Aug  5 09:34 fs
drwxr-xr-x 22 root root    584 Aug  5 09:35 include
drwxr-xr-x  2 root root    128 Aug  5 09:34 init
drwxr-xr-x  2 root root     96 Aug  5 09:34 ipc
drwxr-xr-x  6 root root    792 Aug  5 09:34 kernel
drwxr-xr-x  6 root root    968 Aug  5 09:34 lib
drwxr-xr-x  2 root root    160 Aug  5 09:34 mm
drwxr-xr-x 47 root root   1232 Aug  5 09:34 net
drwxr-xr-x  7 root root    232 Aug  5 09:34 samples
drwxr-xr-x 12 root root   2152 Aug  5 09:34 scripts
drwxr-xr-x  7 root root    224 Aug  5 09:34 security
drwxr-xr-x 21 root root    552 Aug  5 09:34 sound
drwxr-xr-x  2 root root    280 Aug  5 09:34 usr
drwxr-xr-x  3 root root     72 Aug  5 09:34 virt


This problem blocks me. Would you mind to check?


Many thanx

Harri
====================================================================================
dpcl064:~# aptitude install drbd8-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
   dpatch{a} drbd8-source
The following packages are RECOMMENDED but will NOT be installed:
   kernel-package
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/347kB of archives. After unpacking 1376kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Selecting previously deselected package dpatch.
(Reading database ... 100711 files and directories currently installed.)
Unpacking dpatch (from .../archives/dpatch_2.0.31_all.deb) ...
Selecting previously deselected package drbd8-source.
Unpacking drbd8-source (from .../drbd8-source_2%3a8.3.2-2_all.deb) ...
Processing triggers for man-db ...
Setting up dpatch (2.0.31) ...
Setting up drbd8-source (2:8.3.2-2) ...
Removing all [drbd8-8.3.2] DKMS Modules

Error! There are no instances of module: drbd8
8.3.2 located in the DKMS tree.
Done.
Adding [drbd8-8.3.2] Module to DKMS build system

*************************************************
ERROR: Missing kernel headers.

You appear to have at least some kernel headers
installed, but you do not have the necessary
headers to build drbd8-source against this kernel.

You might try installing the meta package:
  $ sudo apt-get install linux-headers-2.6.30.4
or specifically
  $ sudo apt-get install linux-headers-2.6.30.4
to obtain the necessary build dependencies.

*************************************************

dpkg: error processing drbd8-source (--configure):
  subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
  drbd8-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up drbd8-source (2:8.3.2-2) ...
Removing all [drbd8-8.3.2] DKMS Modules
Done.
Adding [drbd8-8.3.2] Module to DKMS build system

*************************************************
ERROR: Missing kernel headers.

You appear to have at least some kernel headers
installed, but you do not have the necessary
headers to build drbd8-source against this kernel.

You might try installing the meta package:
  $ sudo apt-get install linux-headers-2.6.30.4
or specifically
  $ sudo apt-get install linux-headers-2.6.30.4
to obtain the necessary build dependencies.

*************************************************

dpkg: error processing drbd8-source (--configure):
  subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
  drbd8-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done






More information about the Pkg-dkms-maint mailing list