Public bug reported:

Binary package hint: dkms

Typo (comma should be colon) prevents proper uninstallation at kernel
uninstallation time.

diff --git a/pkg/debian/kernel_prerm.d_dkms b/pkg/debian/kernel_prerm.d_dkms
index 82c67f7..df73a47 100755
--- a/pkg/debian/kernel_prerm.d_dkms
+++ b/pkg/debian/kernel_prerm.d_dkms
@@ -7,7 +7,7 @@ if [ -x /usr/sbin/dkms ]; then
 while read line; do
    name=`echo "$line" | awk '{print $1}' | sed 's/,$//'`
    vers=`echo "$line" | awk '{print $2}' | sed 's/,$//'`
-   arch=`echo "$line" | awk '{print $4}' | sed 's/,$//'`
+   arch=`echo "$line" | awk '{print $4}' | sed 's/:$//'`
    echo "Uninstalling: $name $vers ($inst_kern) ($arch)"
    dkms uninstall -m $name -v $vers -k $inst_kern -a $arch
 done < <(dkms status -k $inst_kern 2>/dev/null | grep ": installed")

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

-- 
dkms kernel_prerm trigger fails due to typo
https://bugs.launchpad.net/bugs/192240
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to