Bug#337945: format fails to build in postinst
Hi Frank!
You wrote:
> It tries to build jadetex with the tex engine, but the latex format
> (which is loaded by jadetex) was generated with pdfetex - this is the
> default since 3.0. You must have old configuration files and refused
> the updates; but in fact they must be very old, because even in sarge
> jadetex fails with tex (it must use etex).
Hmm, weird. dpkg only prompted me about one file, which I let it replace:
Setting up tex-common (0.9) ...
Replacing config file /etc/texmf/texmf.d/05TeXMF.cnf with new version
Replacing config file /etc/texmf/texmf.d/45TeXinputs.cnf with new version
Replacing config file /etc/texmf/texmf.d/55Fonts.cnf with new version
Replacing config file /etc/texmf/texmf.d/65BibTeX.cnf with new version
Replacing config file /etc/texmf/texmf.d/75DviPS.cnf with new version
Replacing config file /etc/texmf/texmf.d/85Misc.cnf with new version
Replacing config file /etc/texmf/texmf.d/95NonPath.cnf with new version
Replacing config file /etc/texmf/texmf.cnf with new version
chgrp: invalid group name `cachegroup'
Setting up tetex-base (3.0-10) ...
Installing new version of config file /etc/texmf/latex/texsys.cfg ...
Installing new version of config file /etc/texmf/latex/color.cfg ...
Installing new version of config file /etc/texmf/latex/graphics.cfg ...
Installing new version of config file /etc/texmf/context/texexec.ini ...
Installing new version of config file /etc/texmf/context/cont-usr.tex ...
Installing new version of config file /etc/texmf/modes.mf ...
Installing new version of config file /etc/texmf/dvips/config.ps ...
Configuration file `/etc/texmf/dvips/config.antt'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** config.antt (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/texmf/dvips/config.antt ...
Installing new version of config file /etc/texmf/dvips/config.pdf ...
Installing new version of config file /etc/texdoctk/texdoctk.dat ...
Using obsolete pdftex.cfg to generate pdftexconfig.tex ... done.
Removing obsolete, unchanged conffile /etc/texmf/latex/latex.ini
Removing obsolete, unchanged conffile /etc/texmf/cyrplain/cyrtex.ini
Removing obsolete, unchanged conffile /etc/texmf/cyrplain/cyrtxinf.ini
Removing obsolete, unchanged conffile /etc/texmf/cyrplain/cyramstx.ini
Removing obsolete, unchanged conffile /etc/texmf/etex/etex.ini
Removing obsolete, unchanged conffile /etc/texmf/platex/platex.ini
Removing obsolete, unchanged conffile /etc/texmf/context/cont-de.ini
Removing obsolete, unchanged conffile /etc/texmf/context/cont-en.ini
Removing obsolete, unchanged conffile /etc/texmf/context/cont-it.ini
Removing obsolete, unchanged conffile /etc/texmf/context/cont-nl.ini
Removing obsolete, unchanged conffile /etc/texmf/context/cont-ro.ini
Removing obsolete, unchanged conffile /etc/texmf/context/cont-uk.ini
Removing obsolete, unchanged conffile /etc/texmf/context/cont-cz.ini
Replacing config file /etc/texmf/mktex.cnf with new version
Replacing config file /etc/texmf/dvipdfm/config with new version
Replacing config file /etc/texdoctk/texdocrc with new version
Setting up libkpathsea4 (3.0-10.1) ...
Setting up tetex-bin (3.0-10.1) ...
Installing new version of config file /etc/texmf/xdvi.cfg ...
Running fmtutil-sys. This may take some time. ...
[etc]
> ls -l /etc/texmf/fmt.d/
> grep jadetex /etc/texmf/fmt.d/*
> grep jadetex /var/lib/texmf/web2c/fmtutil.cnf
[bas@matilda]~> ls -l /etc/texmf/fmt.d/
total 20K
-rw-r--r-- 1 root root 1.4K 2005-10-31 13:12 00tex.cnf
-rw-r--r-- 1 root root 3.1K 2005-11-07 14:36 01tetex.cnf
-rw-r--r-- 1 root root 269 2004-06-29 18:58 40jadetex.cnf
-rw-r--r-- 1 root root 271 2005-03-09 14:05 40jadetex.cnf.dpkg-dist
-rw-r--r-- 1 root root 565 2005-10-31 13:40 50cyrtexinfo.cnf
[bas@matilda]~> grep jadetex /etc/texmf/fmt.d/*
/etc/texmf/fmt.d/40jadetex.cnf:jadetex tex language.dat &latex jadetex.ini
/etc/texmf/fmt.d/40jadetex.cnf:pdfjadetex pdftex language.dat &pdflatex pdfjadetex.ini
/etc/texmf/fmt.d/40jadetex.cnf.dpkg-dist:jadetex etex language.dat &latex jadetex.ini
/etc/texmf/fmt.d/40jadetex.cnf.dpkg-dist:pdfjadetex pdfetex language.dat &pdflatex pdfjadetex.ini
[bas@matilda]~> grep jadetex /var/lib/texmf/web2c/fmtutil.cnf
### From file: /etc/texmf/fmt.d/40jadetex.cnf
jadetex tex language.dat &latex jadetex.ini
pdfjadetex pdftex language.dat &pdflatex pdfjadetex.ini
### End of file: /etc/texmf/fmt.d/40jadetex.cnf
--
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw | GPG key: 0644fab7 |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas@o2w.nl, bas@debian.org | a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+
Reply to: