Re: man-db's cron warns about dangling symlink
ma, 2007-09-03 kello 16:04 +0200, Michael Banck kirjoitti:
> 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.
FWIW, piuparts should be able to detect that.
Never underestimate the power of a small tactical Lisp interpreter.