Bug#407411: iceape-browser: Leaves dangling symlinks to?/etc/alternatives when package is purged

Andreas Metzler ametzler at downhill.at.eu.org
Thu Jan 18 20:25:19 CET 2007


In article <20070118085850.3592.33723.reportbug__41581.1025225141$1169111985$gmane$org at mithlond.arda.local> (gmane.linux.debian.devel.mozilla) you wrote:
> Package: iceape-browser
> Version: 1.0.7-2
> Severity: minor

> After purging the iceape-browser package there are following symlinks
> left in the /etc/alternatives directory:

> lrwxrwxrwx 1 root root 15 2007-01-13 11:10 mozilla -> /usr/bin/iceape
> lrwxrwxrwx 1 root root 31 2007-01-13 11:10 mozilla.1.gz -> /usr/share/man/man1/iceape.1.gz

> /etc/cron.daily/man-db script sends a warning email every day:

> mandb: warning: /usr/share/man/man1/mozilla.1.gz is a dangling symlink
[...]

[x] confirmed.

ametzler at argenau:~/SVN/iceape/debian$ grep update-alter iceape-browser.p*
iceape-browser.postinst:        update-alternatives --install /usr/bin/x-www-browser \
iceape-browser.postinst:        update-alternatives --install /usr/bin/mozilla \

The counterpart to this commands is missing, iirc it should go to
prerm, since update-alternatives won't remove the link if the program
it is pointig to is already gone.
cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde




More information about the pkg-mozilla-maintainers mailing list