Bug#407411: iceape-browser: Leaves dangling symlinks to /etc/alternatives when package is purged
severity 407411 serious tag 407411 pending thanks On Sat, Jan 20, 2007 at 11:55:55AM +0100, Andreas Metzler [EMAIL PROTECTED] wrote: tags 407411 patch thanks On 2007-01-18 Teemu Likonen [EMAIL PROTECTED] 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 Patch attached. cu and- I thnk this is normal not minor BTW -reas I'd say it's RC, actually... Anyways, I already had it fixed in my local tree, I just didn't commit it. It only differs from your patch in the rules it applies to: I don't think it's necessary to apply this to deconfigure, too. Cheers Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#407411: iceape-browser: Leaves dangling symlinks to /etc/alternatives when package is purged
tags 407411 patch thanks On 2007-01-18 Teemu Likonen [EMAIL PROTECTED] 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 Patch attached. cu and- I thnk this is normal not minor BTW -reas -- 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 Index: iceape-browser.prerm === --- iceape-browser.prerm (Revision 0) +++ iceape-browser.prerm (Revision 0) @@ -0,0 +1,15 @@ +#! /bin/sh +# prerm script for iceape-browser + +set -e + +case $1 in +deconfigure|remove) +update-alternatives --remove x-www-browser /usr/bin/iceape +update-alternatives --remove mozilla /usr/bin/iceape +;; +esac + +#DEBHELPER# + +exit 0 Index: changelog === --- changelog (Revision 39778) +++ changelog (Arbeitskopie) @@ -4,6 +4,8 @@ it is about postrm rules for purge. * debian/control: Make iceape conflict with mozilla ( 2:1.8) instead of mozilla. Closes: #405911. + * debian/iceape-browser.prerm: (new file) Remove alternatives. +Closes: #407411 -- Mike Hommey [EMAIL PROTECTED] Sun, 7 Jan 2007 13:12:55 +0100
Bug#407411: iceape-browser: Leaves dangling symlinks to /etc/alternatives when package is purged
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 -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (900, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-3-k7 Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#407411: iceape-browser: Leaves dangling symlinks to?/etc/alternatives when package is purged
In article [EMAIL PROTECTED] (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. [EMAIL PROTECTED]:~/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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]