dkms kernel_prerm trigger fails due to typo

Bug #192240 reported by Matt Domsch
2
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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")

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.0.17.6-0ubuntu1

---------------
dkms (2.0.17.6-0ubuntu1) hardy; urgency=low

  [ Matt Domsch ]
  * Correct kernel uninstall trigger (LP: #192240)
  * Call udevadm trigger if present, fall back to udevtrigger (LP: #192241)
  * Fix uninstallation with weak modules (Red Hat BZ#429410)
  * debian/control:
    - Update standards version to 3.7.3
    - Add Vcs-git repository.

 -- Mario Limonciello <email address hidden> Mon, 18 Feb 2008 09:40:18 -0600

Changed in dkms:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.