Steve Langasek wrote:
On Mon, Feb 12, 2007 at 03:48:53PM +0100, Stefan Hornburg (Racke) wrote:
I confirm that installing and removing courier-mta leads to dangling
symlinks for the manpages.
However, I couldn't see any mistake in the update-alternatives directives
used in the maintainer scripts.
I did, at last. It's subtle:
diff -u courier-0.53.3/debian/changelog courier-0.53.3/debian/changelog
--- courier-0.53.3/debian/changelog
+++ courier-0.53.3/debian/changelog
@@ -1,3 +1,12 @@
+courier (0.53.3-4.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for RC bugfix.
+ * Use the *alternative* name, not the *generic* name, when removing
+ alternatives. Closes: #410288.
+
+ -- Steve Langasek <[EMAIL PROTECTED]> Mon, 12 Feb 2007 17:19:11 -0800
+
courier (0.53.3-4) unstable; urgency=medium
* updated Portuguese translation of Debconf templates (Closes: #409422,
diff -u courier-0.53.3/debian/courier-mta.prerm
courier-0.53.3/debian/courier-mta.prerm
--- courier-0.53.3/debian/courier-mta.prerm
+++ courier-0.53.3/debian/courier-mta.prerm
@@ -19,7 +19,7 @@
if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
for binary in lockmail preline; do
- update-alternatives --remove $binary /usr/bin/$binary
+ update-alternatives --remove $binary /usr/bin/${binary}.courier
done
fi
I'm not sure why update-alternatives doesn't just error out when called with
a --remove argument that doesn't correctly correspond to any existing
alternatives, but nevertheless, this was a wrong invocation of u-a --remove.
Duh. I did this in other prerm scripts, but apparently missed that one.
After all, the manpage should document that in a much better way.
Anyway, thank you very much for solving this problem!
Stefan, please let me know if you need me to NMU for this, otherwise I'll
leave it in your hands.
I'll upload fixed packages today.
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]