> 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]

Reply via email to