Bug#606040: context: Removing of generated format files does not work
Package: context
Version: 2009.11.26-2
Severity: normal
Hi,
the postrm contains the following code to remove the generated metafun
format files upon package removal:
if [ "$i" = allformats ] ; then
for fmt in pdftex/cont-en cont-en xetex/cont-en cont-en
pdftex/mptopdf mptopdf mpost/metafun metafun ; do
rm -f /var/lib/texmf/web2c/$fmt.*
done
fi
if [ "$i" = format ] ; then
for fmt in pdftex/cont-en cont-en xetex/cont-en cont-en
pdftex/mptopdf mptopdf mpost/metafun metafun ; do
rm -f /var/lib/texmf/web2c/$fmt.*
done
fi
Unfortunately it does not work, the metafun format file sit in
/var/lib/texmf/web2c/metapost, not /var/lib/texmf/web2c/mpost
hille@sid:/var/lib/texmf/web2c $ ls -l /var/lib/texmf/web2c/metapost/
total 664
-rw-r--r-- 1 root root 1418 Dec 5 20:53 metafun.log
-rw-r--r-- 1 root root 486760 Dec 5 20:53 metafun.mem
-rw-r--r-- 1 root root 711 Dec 5 20:49 mfplain.log
-rw-r--r-- 1 root root 56078 Dec 5 20:49 mfplain.mem
-rw-r--r-- 1 root root 50511 Dec 5 20:49 mplib-luatex.mem
-rw-r--r-- 1 root root 418 Dec 5 20:49 mpost.log
-rw-r--r-- 1 root root 50511 Dec 5 20:49 mpost.mem
Hence the format files are not removed.
H.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages context depends on:
ii dpkg 1.15.8.6 Debian package management system
ii lmodern 2.004.1-3 scalable PostScript and OpenType f
ii luatex 0.60.2-1 next generation TeX engine
ii ruby 4.5 An interpreter of object-oriented
ii tex-common 2.08 common infrastructure for building
ii tex-gyre 2.004.1-2 scalable PostScript and OpenType f
ii texlive-base 2009-11 TeX Live: Essential programs and f
ii texlive-binaries 2009-8 Binaries for TeX Live
ii texlive-metapost 2009-11 TeX Live: MetaPost (and Metafont)
Versions of packages context recommends:
pn ttf-freefont <none> (no description available)
pn ttf-gfs-artemisia <none> (no description available)
pn ttf-gfs-baskerville <none> (no description available)
pn ttf-gfs-bodoni-classic <none> (no description available)
pn ttf-gfs-didot <none> (no description available)
pn ttf-gfs-didot-classic <none> (no description available)
pn ttf-gfs-gazis <none> (no description available)
pn ttf-gfs-neohellenic <none> (no description available)
pn ttf-gfs-olga <none> (no description available)
pn ttf-gfs-porson <none> (no description available)
pn ttf-gfs-solomos <none> (no description available)
pn ttf-gfs-theokritos <none> (no description available)
pn ttf-sil-gentium <none> (no description available)
Versions of packages context suggests:
pn context-doc-nonfree <none> (no description available)
pn context-nonfree <none> (no description available)
ii fontforge 0.0.20100501-3 font editor
pn libxml-parser-perl <none> (no description available)
ii perl-tk 1:804.029-1+b1 Perl module providing the Tk graph
-- no debconf information
Reply to: