Bug#606039: texlive-metapost: Removing of generated format files does not work
Package: texlive-metapost
Version: 2009-11
Severity: normal
Hi,
the postrm contains the following code to remove the generated format
files upon package removal:
if [ "$i" = allformats ] ; then
for fmt in mpost/mfplain mfplain mpost/mpost mpost ; do
rm -f /var/lib/texmf/web2c/$fmt.*
done
fi
if [ "$i" = format ] ; then
for fmt in mpost/mfplain mfplain mpost/mpost mpost ; do
rm -f /var/lib/texmf/web2c/$fmt.*
done
fi
Unfortunately it does not work, the format files 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/
total 52
-rw-r--r-- 1 root root 5104 Dec 5 20:53 fmtutil.cnf
drwxr-xr-x 2 root root 4096 Dec 5 20:47 luatex
drwxr-xr-x 2 root root 4096 Dec 5 12:05 metafont
drwxr-xr-x 2 root root 4096 Dec 5 20:53 metapost
drwxr-xr-x 2 root root 4096 Dec 5 20:53 pdftex
drwxr-xr-x 2 root root 4096 Dec 5 12:05 tex
-rw-r--r-- 1 root root 11186 Dec 5 20:53 updmap.cfg
-rw-r--r-- 1 root root 7068 Dec 5 20:36 updmap.log
drwxr-xr-x 2 root root 4096 Dec 5 20:53 xetex
Hence the format files are not removed.
H.
-- Package-specific info:
If you report an error when running one of the TeX-related binaries
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.
Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.
Don't forget to also include minimal examples of other files that are
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!
If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at
http://www.latex-einfuehrung.de/mini-en.html (english)
or
http://www.latex-einfuehrung.de/mini.html (german)
##################################
minimal input file
##################################
other files
######################################
List of ls-R files
-rw-r--r-- 1 hille users 2885 Sep 14 11:37 /home/hille/.texmf/ls-R
-rw-r--r-- 1 root root 1242 Dec 5 20:53 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 80 Dec 5 20:28 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jun 18 13:55 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 Sep 25 09:18 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 Sep 25 09:18 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
Config files
lrwxrwxrwx 1 root root 20 Jun 18 13:55 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 5104 Dec 5 20:53 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 hille users 12402 Sep 14 11:37 /home/hille/.texmf-var/web2c/updmap.cfg
-rw-r--r-- 1 root root 3709 Dec 5 20:53 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 4
-rw-r--r-- 1 root root 283 Nov 10 2008 mktex.cnf
######################################
md5sums of texmf.d
33f317b47b8ee4d8c67773e03cf11c2d /etc/texmf/texmf.d/05TeXMF.cnf
6e82a3d4c00ae7e4f86aa8dcf9438cf3 /etc/texmf/texmf.d/15Plain.cnf
c60a084820a0b73e3bfbf2e90bda437c /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1 /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068 /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e /etc/texmf/texmf.d/80DVIPDFMx.cnf
055e06548bac99958d8ab2dd1248f2b4 /etc/texmf/texmf.d/80tex4ht.cnf
37329819f1109e8a457e64b8b58fecdb /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c /etc/texmf/texmf.d/90TeXDoc.cnf
bab3b7e578107f999fa1b0768994f6f8 /etc/texmf/texmf.d/95NonPath.cnf
-- 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 texlive-metapost depends on:
ii dpkg 1.15.8.6 Debian package management system
ii tex-common 2.08 common infrastructure for building
ii texlive-base 2009-11 TeX Live: Essential programs and f
ii texlive-binaries 2009-8 Binaries for TeX Live
ii texlive-common 2009-11 TeX Live: Base component
Versions of packages texlive-metapost recommends:
pn feynmf <none> (no description available)
pn texlive-metapost-doc <none> (no description available)
texlive-metapost suggests no packages.
Versions of packages tex-common depends on:
ii debconf [debconf-2.0] 1.5.37 Debian configuration management sy
ii dpkg 1.15.8.6 Debian package management system
ii ucf 3.0025+nmu1 Update Configuration File: preserv
Versions of packages texlive-metapost is related to:
ii tex-common 2.08 common infrastructure for building
ii texlive-binaries 2009-8 Binaries for TeX Live
-- debconf information:
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:
Reply to: