On Fri, Feb 09, 2007 at 12:27:07PM +0100, Stefan Hornburg (Racke) wrote:
> >The prerm script of courier-mta does not remove two manpage
> >alternatives.  The following patch corrects the problem:

> >--- courier-mta.prerm.orig      2007-02-09 10:24:09.896439231 +0000
> >+++ courier-mta.prerm   2007-02-09 10:27:47.419548587 +0000
> >@@ -20,6 +20,8 @@
> > if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
> >        for binary in lockmail preline; do
> >                update-alternatives --remove $binary /usr/bin/$binary
> >+               update-alternatives --remove $binary.1 \
> >+                       /usr/share/man/man1/$binary.courier.1.gz
> >        done
> > fi

> Thank you very much for your patch.

> However, how do you justify the serious severity ? Appendix F says
> nothing about a "must".

The justification is simply the definition of package removal, I'm afraid.

On Fri, Feb 09, 2007 at 01:26:31PM +0100, Stefan Hornburg (Racke) wrote:
> First of all, this update-alternatives never worked very well for courier,
> don't know why.

> The manpage says:

<snip discussion of slave links>

> So update-alternatives should remove these manpage links by itself, right ?

Yes, if these alternatives were slave links, they should have been removed
with the master.

But note that the alternative removal Tim has suggested above is for a
different alternative name than the one actually used by the current slave
alternative; e.g., "preline.1.gz" vs. "preline.1".  Tim, what was the first
version of courier-mta you had installed before trying to remove it?  It's
possible an older version didn't do the slave links right, in which case
this is a lower-severity bug (cleaning up after breakage in an obsolete
version of the package).

I think there have also been bugs in update-alternatives' own handling of
slave links at some point in the past. :/  That would likewise not be an RC
problem for courier-mta.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to