← Back to team overview

kernel-packages team mailing list archive

[Bug 1261116] [NEW] dkms uninstall fails unexpectedly without error message

 

You have been subscribed to a public bug:

When trying to uninstall a (customly built) DKMS module using "dkms
uninstall -m my_module -v 1.1" dkms fails with exit code 1 and doesn't
print an error message.

The problem occurs with the invocation of the function "have_one_kernel"
in the /usr/sbin/dkms script. This function doesn't evaluate to 0 as it
should, when all conditions are met (as with the command specified
above).

The commands
"dkms uninstall -m my_module -v 1.1 --all"
and
"dkms uninstall -m my_module -v 1.1 -k 3.2.0-57 -k 3.5.0-44"
fail as expected with the resp. error messages and exit codes in function "have_one_kernel".

** Affects: dkms (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dkms uninstall fails unexpectedly without error message
https://bugs.launchpad.net/bugs/1261116
You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu.