Bug#317269: uninstalling ipython leaves dangling symlinks

2006-01-29 Thread Lars Wirzenius
 After uninstalling ipython, I get the following notice from man-db
 /etc/cron.daily/man-db:
 mandb: warning: /usr/share/man/man1/ipython.1.gz is a dangling symlink
 mandb: warning: /usr/share/man/man1/pycolor.1.gz is a dangling symlink
 
 This looks like an update-alternative issues in the prerm maintainer
 scripts. 

Indeed. The prerm script contains this:

if [ $1 = configure ]; then
for i in ipython pycolor ; do
update-alternatives --remove $i /usr/bin/python2.4-$i
done
fi

However, $1 is never configure for prerm. The test should check for 
remove 
instead. I stubmled on this while testing packages with piuparts, which gives 
the
following error messages:

3m43.9s ERROR: Package purging left files on system:
  /etc/alternatives/ipython
  /etc/alternatives/ipython.1.gz
  /etc/alternatives/pycolor
  /etc/alternatives/pycolor.1.gz
  /usr/bin/ipython
  /usr/bin/pycolor
  /usr/share/man/man1/ipython.1.gz
  /usr/share/man/man1/pycolor.1.gz

Hope this is helpful, happy hacking.

-- 
Happiness isn't happiness without a violin-playing goat. -- Notting Hill



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



Bug#317269: uninstalling ipython leaves dangling symlinks

2006-01-29 Thread Norbert Tretkowski
tags 317269 +pending
thanks

D'uh... I forgot about this bug, sorry.

* Lars Wirzenius wrote:
 Indeed. The prerm script contains this:
 
 if [ $1 = configure ]; then
 for i in ipython pycolor ; do
 update-alternatives --remove $i /usr/bin/python2.4-$i
 done
 fi
 
 However, $1 is never configure for prerm. The test should check
 for remove instead. I stubmled on this while testing packages with
 piuparts, which gives the following error messages:

Thanks for finding the problem, upload pending.

Norbert


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



Bug#317269: uninstalling ipython leaves dangling symlinks

2005-07-07 Thread Alexandre Fayolle
Package: ipython
Severity: normal

Hi,

After uninstalling ipython, I get the following notice from man-db
/etc/cron.daily/man-db:
mandb: warning: /usr/share/man/man1/ipython.1.gz is a dangling symlink
mandb: warning: /usr/share/man/man1/pycolor.1.gz is a dangling symlink

This looks like an update-alternative issues in the prerm maintainer
scripts. 


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)


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