kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #40121
[Bug 1261116] Re: dkms uninstall fails unexpectedly without error message
This affects and applies to P/Q/R/S/T. Before doing the SRUs we'll have to fix it in the development Ubuntu release.
However, this also applies to debian. I've submitted a bug to to get this applied, since the patch is not in a dkms release yet.
** Also affects: dkms (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: dkms (Ubuntu Quantal)
Importance: Undecided
Status: New
** Also affects: dkms (Ubuntu Saucy)
Importance: Undecided
Status: New
** Also affects: dkms (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects: dkms (Ubuntu Raring)
Importance: Undecided
Status: New
** Bug watch added: Debian Bug tracker #735181
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735181
** Also affects: dkms (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735181
Importance: Unknown
Status: Unknown
--
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/1261116
Title:
dkms uninstall fails unexpectedly without error message
Status in “dkms” package in Ubuntu:
New
Status in “dkms” source package in Precise:
New
Status in “dkms” source package in Quantal:
New
Status in “dkms” source package in Raring:
New
Status in “dkms” source package in Saucy:
New
Status in “dkms” source package in Trusty:
New
Status in “dkms” package in Debian:
Unknown
Bug description:
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".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1261116/+subscriptions