[pkg-lighttpd] Bug#614716: Processed: your mail
Raphael Hertzog
hertzog at debian.org
Sun Apr 3 16:03:21 UTC 2011
reassign 614716 lighttpd 1.4.28-2
thanks
On Sun, 03 Apr 2011, Debian Bug Tracking System wrote:
> > reassign 614716 dpkg
No, that's not right.
The bug is in your package if some alternatives are not removed.
And it's very easy to fix it in your package. Add a preinst snippet
detecting the upgrade from a version where it was not yet split and drop
the alternative.
If you want to clean up the mess you created, you can also do a quick
check in the postinst call the required --remove if the provided
alternative (that has been split off) is not available.
update-alternatives tries very hard to not create/keep dangling symlinks
but if it's never called, it has no chance to clean up anything...
I must say it's a pity that you argued against fixing it in your package.
Sure it would be nice if dpkg itself managed alternatives and not
update-alternatives but that does not mean that you don't have
to fix it on your side in the mean time.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
More information about the pkg-lighttpd-maintainers
mailing list