Bug was introduced in by 2.3-3ubuntu9.4 the following commit: https://git.launchpad.net/ubuntu/+source/dkms/commit/?id=4cfc905dc605628eb6d3ceddb21fb12cac9543d5:
Relevant diff: - read -a kernels_module < <(find $lib_tree -name ${4}$module_suffix) + read -a kernels_module < <(find_module "$lib_tree" "${4}") Reverting this should fix this bug -- 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/1838245 Title: dkms script is missing function find_module Status in dkms package in Ubuntu: New Bug description: Building a kernel module using dkms in Linux Mint 19.1 shows the following error: Running module version sanity check. /usr/sbin/dkms: Zeile 784: find_module: Befehl nicht gefunden modinfo: ERROR: missing module or filename. Checking the file the function is indeed missing and another user confirmed, that it was removed at some point: https://github.com/linuxmint/linuxmint/issues/142 Possible solution: Readd find_module() { # tree = $1 # module = $2 find "$1" -name "$2$module_uncompressed_suffix" -o -name "$2$module_suffix" -type f return $? } as found in https://github.com/dell/dkms/blob/master/dkms To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1838245/+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