[Pkg-lirc-maint] Bug#377505: lirc-modules-source: deb file fails to install on kernels with 2.x.y.z (z is ignored in modules dir)

Daniel S. debian at gnd.dk
Sun Jul 9 14:27:06 UTC 2006


Package: lirc-modules-source
Version: 0.8.0-5
Severity: important


After building a .deb file using "make-kpkg modules-image", installing
the deb file fails on a system with a 2.x.y.z kernel because the package
tries to install a module to fx "/lib/modules/2.6.17/misc/lirc_dev.ko"
when it should be "lib/modules/2.6.17.4/misc/lirc_dev.ko"

In my case dpkg -i fails because I already have a deb file installed for
a 2.6.17 kernel, so when the package tries to override
"/lib/modules/2.6.17/misc/lirc_dev.ko" it fails, but even if this was
the first time I installed the deb file, it wouldn't work, because the
modules would be in the wrong dir.

output from dpkg -i:

# dpkg -i lirc-modules-2.6.17.4_0.8.0-5+20060709T143754_i386.deb
 (Reading database ... 134011 files and directories currently installed.)
 Unpacking lirc-modules-2.6.17.4 (from lirc-modules-2.6.17.4_0.8.0-5+20060709T143754_i386.deb) ...
 dpkg: error processing lirc-modules-2.6.17.4_0.8.0-5+20060709T143754_i386.deb (--install):
 trying to overwrite `/lib/modules/2.6.17/misc/lirc_dev.ko', which is also in package lirc-modules-2.6.17

I could probably get it to work by moving the module to the correct dir,
but then I can't remove the package again.


Kind Regards
Daniel S.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_DK, LC_CTYPE=en_DK (charmap=ISO-8859-1)

Versions of packages lirc-modules-source depends on:
ii  debconf [debconf-2.0]         1.5.2      Debian configuration management sy
ii  debhelper                     5.0.37.2   helper programs for debian/rules
ii  debianutils                   2.16.1     Miscellaneous utilities specific t
ii  ucf                           2.0012     Update Configuration File: preserv

Versions of packages lirc-modules-source recommends:
ii  dpkg-dev                      1.13.21    package building tools for Debian
ii  gcc [c-compiler]              4:4.0.3-4  The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.3-3    The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-5    The GNU C compiler
ii  kernel-package                10.049     A utility for building Linux kerne
ii  make                          3.81-2     The GNU version of the "make" util

-- debconf information:
  lirc-modules-source/use_lirc_hints: true
  lirc-modules-source/parallel_irq: 7
* lirc-modules-source/do-build: false
  lirc-modules-source/parallel_timer: 65536
  lirc-modules-source/serial_transmitter: true
  lirc-modules-source/not_needed:
  lirc-modules-source/serial_port: 0x2f8
* lirc-modules-source/drivers: imon
  lirc-modules-source/serial_irq: 3
  lirc-modules-source/serial_type: Other
  lirc-modules-source/kernel-source: /usr/src/linux/
  lirc-modules-source/sir_port: 0x2f8
  lirc-modules-source/parallel_port: 0x378
* lirc-modules-source/what_next:
  lirc-modules-source/sir_type: Other
  lirc-modules-source/serial_softcarrier: false
  lirc-modules-source/kernel-source-not-found:
  lirc-modules-source/it87_type: Standard
  lirc-modules-source/sir_irq: 3




More information about the Pkg-lirc-maint mailing list