Package: tetex-extra
Version: 3.0-10
Severity: minor

Hello,

Pursuant to bug #340890, I found that it is possible to run MetaPost
after installing and then purging tetex-extra, but not if tetex-extra
was never installed.  This behavior is dependent on the history of the
system so I feel it is undesirable.

The specific file that permits MetaPost to run after purging tetex-extra
is /var/lib/texmf/web2c/mpost.mem , which is apparently created when
tetex-extra is installed, but not deleted when the package is removed.
Therefore I think that this file should be deleted in the prerm or
postrm of tetex-extra on purge or remove.

The failure to delete this file seems to be a regression.  Previous
versions of tetex-extra did remove the file; see for instance
http://lists.debian.org/debian-tetex-maint/2004/08/msg00305.html
If we look at the postrm file for tetex-extra 3.0-10, we find this
function:

remove_formats(){
  for format in $EXTRA_FORMATS; do
    rm -f /var/lib/texmf/web2c/$format
    basename=${format%.*}
    rm -f /var/lib/texmf/web2c/$basename.log
  done
}

but $EXTRA_FORMATS is never defined in the script.


######################################
 List of ls-R files

-rw-rw-r-- 1 root users 1054 2005-11-28 06:28 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root staff 25 2005-10-28 15:00 /usr/local/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-LOCAL
lrwxrwxrwx 1 root root 29 2005-11-27 02:06 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tetex-extra depends on:
ii  dpkg                         1.13.11.0.1 package maintenance system for Deb
ii  tetex-base                   3.0-10      Basic library files of teTeX
ii  tetex-bin                    3.0-10.1    The teTeX binary files
ii  ucf                          2.003       Update Configuration File: preserv

tetex-extra recommends no packages.

-- no debconf information

regards,

-- 
Kevin B. McCarty <[EMAIL PROTECTED]>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544


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

Reply via email to