This bug was fixed in the package dkms - 3.0.11-1ubuntu15
---------------
dkms (3.0.11-1ubuntu15) plucky; urgency=medium
* dh_dkms: Always substitute #MODULE_VERSION#. (LP: #2102149)
- Thanks to Andreas Beckmann!
-- Jacob Martin <[email protected]> Thu, 13 Mar 2025 13:56:47
-0500
** Changed in: dkms (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
source
Status in dkms package in Ubuntu:
Fix Released
Status in nat-rtsp package in Ubuntu:
In Progress
Status in dkms source package in Plucky:
Fix Released
Status in nat-rtsp source package in Plucky:
In Progress
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)
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 : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp