Comment 7 for bug 368471

Revision history for this message
Steve Beattie (sbeattie) wrote :

I've reproduced the installation failure with openafs-modules-dkms 1.4.9.dfsg1-0+ubuntu3. When I tried to verify the fix, the upgrade from the broken version to the version in jaunty-proposed, 1.4.9.dfsg1-0+ubuntu3.1, failed in the prerm script in the 'dkms remove -m openafs -v "$version" --all' command with the message:

  Error! There are no instances of module: openafs
1.4.9 located in the DKMS tree.

But the 'dkms add' command in the postinst succeeded, so doing dpkg-reconfigure on the openafs-modules-dkms package caused the build to happen. It seems to me that the fix is incomplete and that prerm script ought to wrap the 'dkms remove' call to prevent its failure from causing the upgrade to fail.