[Pkg-dkms-maint] Bug#553600: dkms: Error message could be improved a bit

Philipp Kaluza pk+debs at yomu.de
Sun Nov 1 11:24:21 UTC 2009


Package: dkms
Version: 2.1.0.1-1
Severity: wishlist

Hi DKMS team,

(This is a little follow-up bug for #553542.)

I've been playing with dkms to see how it will help us get rid of the
horribleness that is linux-modules-extra.

| Setting up openafs-modules-dkms (1.4.11+dfsg-4) ...
| 
| Creating symlink /var/lib/dkms/openafs/1.4.11/source ->
|                  /usr/src/openafs-1.4.11
| 
| DKMS: add Completed.
| 
| Error! Your kernel source for kernel 2.6.30-2-686 cannot be found at
| /lib/modules/2.6.30-2-686/build or /lib/modules/2.6.30-2-686/source.
| You can use the --kernelsourcedir option to tell DKMS where it's located.

The above error message is pretty helpful already, but could be improved
slightly when dkms is detecting it's running on debian-style distros:
It should maybe point the user to install the "linux-headers-<version>"
package, as that's all that is required (no full source).
In any case,
 s/Your kernel source/Your kernel headers/
might be a good idea.

Bye,
  Philipp

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (60, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dkms depends on:
ii  build-essential               11.4       Informational list of build-essent
ii  dpkg-dev                      1.15.3.1   Debian package development tools
ii  gcc                           4:4.3.3-9  The GNU C compiler
ii  make                          3.81-6     An utility for Directing compilati
ii  module-init-tools             3.10-3     tools for managing Linux kernel mo

Versions of packages dkms recommends:
ii  fakeroot                1.13             Gives a fake root environment
ii  linux-headers-2.6.30-2- 2.6.30-8         Header files for Linux 2.6.30-2-68
ii  linux-image-2.6.26-2-vs 2.6.26-19lenny1  Linux 2.6.26 image on PPro/Celeron
ii  linux-image-2.6.30-2-68 2.6.30-8         Linux 2.6.30 image on PPro/Celeron
ii  linux-image-2.6.30-pxp0 2.6.30-pxp06-0.1 Linux kernel binary image for vers
ii  lsb-release             3.2-23           Linux Standard Base version report
ii  menu                    2.1.41           generates programs menu for all me
ii  patch                   2.5.9-5          Apply a diff file to an original
ii  sudo-ldap [sudo]        1.7.2-2          Provide limited super user privile

dkms suggests no packages.

-- no debconf information





More information about the Pkg-dkms-maint mailing list