* Ignore failures to remove an existing DKMS tree in the prerm of the
openafs-modules-dkms package. In the possible cases where the tree
may not be present to be removed, failing package removal doesn't
make sense. (Further addresses LP #368471.)
openafs (1.4.11~pre1+dfsg1-2) UNRELEASED; urgency=low
+ * Ignore failures to remove an existing DKMS tree in the prerm of the
+ openafs-modules-dkms package. In the possible cases where the tree
+ may not be present to be removed, failing package removal doesn't
+ make sense. (Further addresses LP #368471.)
* Translation updates:
- Russian, thanks Yuri Kozlov. (Closes: #534807)
version=`dpkg-query -W -f='${Version}' "$package" \
| sed -e 's/[+-].*//' -e 's/\.dfsg.*//' -e 's/~//g'`
-dkms remove -m openafs -v "$version" --all
+# In some cases, broken packages have caused this to fail. If the sysadmin
+# manually deletes the directory, that will also fail. In neither case
+# should we abort the postrm, so ignore failure.
+dkms remove -m openafs -v "$version" --all || true
#DEBHELPER#