This bug was fixed in the package osmocom-dahdi-linux - 0.0~git20241003.b2ea348-4build1
--------------- osmocom-dahdi-linux (0.0~git20241003.b2ea348-4build1) plucky; urgency=medium * No-change rebuild for dh_dkms #MODULE_VERSION# fix. (LP: #2102149) -- Agathe Porte <agathe.po...@canonical.com> Mon, 17 Mar 2025 12:55:27 +0100 ** Changed in: osmocom-dahdi-linux (Ubuntu Plucky) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu. https://bugs.launchpad.net/bugs/2102149 Title: Multiple DKMS packages fail to install with DKMS unable to find #MODULE_VERSION# Status in dkms package in Ubuntu: Fix Released Status in lime-forensics package in Ubuntu: Fix Released Status in nat-rtsp package in Ubuntu: Fix Released Status in osmocom-dahdi-linux package in Ubuntu: Fix Released Status in dkms source package in Plucky: Fix Released Status in lime-forensics source package in Plucky: Fix Released Status in nat-rtsp source package in Plucky: Fix Released Status in osmocom-dahdi-linux source package in Plucky: Fix Released Bug description: 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2102149/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp