Public bug reported:

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)

** Affects: dkms (Ubuntu)
     Importance: Undecided
     Assignee: Jacob Martin (jacobmartin)
         Status: In Progress

** Affects: nat-rtsp (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: dkms (Ubuntu Plucky)
     Importance: Undecided
     Assignee: Jacob Martin (jacobmartin)
         Status: In Progress

** Affects: nat-rtsp (Ubuntu Plucky)
     Importance: Undecided
         Status: Invalid

** Changed in: nat-rtsp (Ubuntu)
       Status: New => Invalid

** Also affects: dkms (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: dkms (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: nat-rtsp (Ubuntu Plucky)
   Importance: Undecided
       Status: Invalid

** Changed in: dkms (Ubuntu Plucky)
     Assignee: (unassigned) => Jacob Martin (jacobmartin)

** Changed in: dkms (Ubuntu Plucky)
       Status: New => In Progress

-- 
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:
  nat-rtsp-dkms version 0.7+5.3-0.4 fails to install with DKMS unable to
  find module source

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

Reply via email to