Package: xfonts-x3270-misc
Severity: normal

Consider the purge clause of the postrm script:

    set -e

    [...]

        purge|remove)
            if [ -d /usr/X11R6/lib/X11/fonts/misc ]; then
                ( cd /usr/X11R6/lib/X11/fonts/misc; mkfontdir )
                update-fonts-alias misc
            fi
        ;;

This crashes if mkfontdir is not installed.  When removing X from a
system, this caused the postrm script to fail, which in turn caused
aptitude to return a non-zero exit status.

I suggest that the postrm script either test for the existence of an
executable called mkfontdir, or that it change its dependency lists so
that apt removes it BEFORE removing the xfont-utils package.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)


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

Reply via email to