[Pkg-dkms-maint] Bug#677382: dkms: dh_dkms generated broken postinst scripts (causes install failure)

Hilmar Preuße hille42 at web.de
Wed Jun 13 13:21:21 UTC 2012


Package: dkms
Version: 2.2.0.3-1
Severity: important

Dear Maintainer,

today I upgraded the open-vm-dkms to a newer version released yesterday. It
tried to rebuild new kernel modules, which failed (no I don't have the exact
error message, the putty session is already gone). The following code in the
postinst looks weird to me:

<snip>
#!/bin/sh
set -e
# Automatically added by dh_dkms
# The original file can be found in template-dkms-mkdeb/debian/postinst
# in the DKMS tarball, check it for copyright notices.

DKMS_NAME=open-vm-tools
DKMS_PACKAGE_NAME=$DKMS_NAME-dkms
DKMS_VERSION=#MODULE_VERSION#
<snap>

--> The DKMS_VERSION has no senseful value.

The fact that DKMS_PACKAGE_NAME has no senseful value either might be a bug in
open-vm-dkms, it would be nice if you could confirm this.

Regards,
  Hilmar

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

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dkms depends on:
ii  build-essential    11.5
ii  coreutils          8.13-3.2
ii  dpkg-dev           1.16.4.2
ii  gcc                4:4.7.0-6
ii  make               3.81-8.2
ii  module-init-tools  8-2
ii  patch              2.6.1-3

Versions of packages dkms recommends:
ii  fakeroot                                       1.18.4-2
ii  linux-headers-3.2.0-2-686-pae [linux-headers]  3.2.20-1
ii  linux-headers-686-pae [linux-headers]          3.2+44
ii  linux-image-3.2.0-2-686-pae [linux-image]      3.2.20-1
ii  menu                                           2.1.46
ii  sudo                                           1.8.3p2-1.1

dkms suggests no packages.

-- no debconf information





More information about the Pkg-dkms-maint mailing list