Michael Banck <[EMAIL PROTECTED]> writes:
> On Sun, Aug 05, 2007 at 12:57:38AM +0200, Samuel Thibault wrote:

>> The bug is that although the mpich-bin package uses
>> update-alternatives --install on postinst for all these files, it uses
>> update-alternatives --remove only on /usr/lib/mpich/bin/mpirun, leaving
>> a bunch of dangling symlinks...

>> The reason why I'm mailing debian-devel is that I've seen this behavior
>> quite often in the past, in various packages.  I hence guess there
>> should be some automatic way to check that a package correctly removes
>> the alternatives it provides.

> Sounds like an issue lintian could catch, so I suggest filing a wishlist
> bug on lintian for that, if there is none already.

There is none about this in particular, but #53490 (second-oldest bug
against lintian) is similar.  Both require parsing the command-line
arguments of update-alternatives, which is why it's not been done before
now.  Patches welcome.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


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

Reply via email to