The debdiff in attach allows to rebuild west-chamber and solve the issue for Questing. The new package has been tested on Questing:
$ dkms status west-chamber/20100405+svn20111107.r124, 6.14.0-15-generic, x86_64: installed xtables-addons/3.27, 6.14.0-15-generic, x86_64: installed ** Description changed: + [ Impact ] + + Multiple DKMS packages are experiencing the following issue when + compiling: + + <dkms-package-name> version <dkms-package-version> fails to install with output: + Error! The directory /var/lib/dkms/<dkms-package-name>/#MODULE_VERSION#/source does not appear to have module source located within it. + + This is caused by the different DKMS packages being built incorrectly + due to an outdated dh_dkms helper script where #MODULE_VERSION# in DKMS + config does not get replaced unless the dh_dkms -V option is specified. + Upstream, this is resolved by a change in dh_dkms to always replace + #MODULE_VERSION# in DKMS config: + https://salsa.debian.org/debian/dkms/-/commit/a7e442244cba31800c1fef2f4890179d65531958. + + [ Fix ] + + Rebuild the affected DKMS packages since the fix landed in the archive. + + [ Test Case ] + + In order to the the fix it is possible to simple verify that the dkms + package get installed correctly. + + $ sudo apt install <dkms-package-name> + + [ Possible Regressions ] + + Since the fix just requires a no-changes build, there is no possible regression. + If the fix does not work the DKMS will not compile, therefore it will not change the current situation. + + --- + nat-rtsp-dkms version 0.7+5.3-0.4 fails to install with output: Error! The directory /var/lib/dkms/nat-rtsp/#MODULE_VERSION#/source does not appear to have module source located within it. This is caused by the nat-rtsp-dkms package being built incorrectly due to an outdated dh_dkms helper script where #MODULE_VERSION# in DKMS config does not get replaced unless the dh_dkms -V option is specified. Upstream, this is resolved by a change in dh_dkms to always replace #MODULE_VERSION# in DKMS config: https://salsa.debian.org/debian/dkms/-/commit/a7e442244cba31800c1fef2f4890179d65531958. # sudo apt install nat-rtsp-dkms Installing: nat-rtsp-dkms Summary: Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 27 Download size: 0 B / 15.2 kB Space needed: 62.5 kB / 5501 MB available Selecting previously unselected package nat-rtsp-dkms. (Reading database ... 126191 files and directories currently installed.) Preparing to unpack .../nat-rtsp-dkms_0.7+5.3-0.4_all.deb ... Unpacking nat-rtsp-dkms (0.7+5.3-0.4) ... Setting up nat-rtsp-dkms (0.7+5.3-0.4) ... Loading new nat-rtsp-#MODULE_VERSION# DKMS files... Building for 6.14.0-7-generic Building initial module for 6.14.0-7-generic Error! The directory /var/lib/dkms/nat-rtsp/#MODULE_VERSION#/source does not appear to have module source located within it. Build halted. dpkg: error processing package nat-rtsp-dkms (--configure): installed nat-rtsp-dkms package post-installation script subprocess returned error exit status 8 Errors were encountered while processing: nat-rtsp-dkms needrestart is being skipped since dpkg has failed Error: Sub-process /usr/bin/dpkg returned an error code (1) This same exact bug affects also lime-forensics-dkms version 1.9.1-7. ** Patch added: "west-chamber-questing-rebuild.debdiff" https://bugs.launchpad.net/ubuntu/plucky/+source/west-chamber/+bug/2102149/+attachment/5877384/+files/west-chamber-questing-rebuild.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2102149 Title: Multiple DKMS packages fail to install with DKMS unable to find #MODULE_VERSION# To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2102149/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
