Bug#419215: linux-headers-2.6.18-4-k7: Package does not install include/linux/version.h
Package: linux-headers-2.6.18-4-k7
Version: 2.6.18.dfsg.1-12
Severity: important
*** Please type your report below this line ***
The file, /usr/src/linux-header-2.6.18-4/include/linux/version.h is
needed to compile some kernel modules
It is missing on my system after installing this package.
I installed this package as follows:
apt-get install linux-headers-2.6.18-4-k7
Output:
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
linux-headers-2.6.18-4
The following NEW packages will be installed:
linux-headers-2.6.18-4 linux-headers-2.6.18-4-k7
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3439kB of archives.
After unpacking 25.6MB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously deselected package linux-headers-2.6.18-4.
(Reading database ... 108241 files and directories currently installed.)
Unpacking linux-headers-2.6.18-4 (from
.../linux-headers-2.6.18-4_2.6.18.dfsg.1-12_i386.deb) ...
Selecting previously deselected package linux-headers-2.6.18-4-k7.
Unpacking linux-headers-2.6.18-4-k7 (from
.../linux-headers-2.6.18-4-k7_2.6.18.dfsg.1-12_i386.deb) ...
Setting up linux-headers-2.6.18-4 (2.6.18.dfsg.1-12) ...
Setting up linux-headers-2.6.18-4-k7 (2.6.18.dfsg.1-12) ...
version.h is included in this package, according to:
http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=linux-headers-2.6.18-4-k7&version=stable&arch=i386&page=18&number=200
It is also in the DEB file:
angel4-Etch:/usr/src# dpkg-deb -c
/cdrom/pool/main/l/linux-2.6/linux-headers-2.6.18-4-k7_2.6.18.dfsg.1-12_i386.deb |grep
version.h\$
-rw-r--r-- root/root 0 2007-03-27 02:02
./usr/src/linux-headers-2.6.18-4-k7/include/config/localversion.h
-rw-r--r-- root/root 97 2007-03-27 02:02
./usr/src/linux-headers-2.6.18-4-k7/include/linux/version.h
BUT it is missing on my system after installing:
angel4-Etch:/usr/src# ls linux-headers-2.6.18-4/include/linux/version.h
ls: linux-headers-2.6.18-4/include/linux/version.h: No such file or directory
I was able to successfully workaround by extracting the missing file
directly from the deb.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Versions of packages linux-headers-2.6.18-4-k7 depends on:
ii gcc-4.1 4.1.1-21 The GNU C compiler
ii linux-headers-2.6.18-4 2.6.18.dfsg.1-12 Common header files for
Linux 2.6.
ii linux-kbuild-2.6.18 2.6.18-1 Kbuild infrastructure for
Linux 2.
linux-headers-2.6.18-4-k7 recommends no packages.
-- no debconf information
Reply to: