[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337945: format fails to build in postinst



Bas Zoetekouw <bas@debian.org> wrote:

> 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:

It's a jadetex conffile, therefore the question must have been asked
much earlier.

>
>> 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

There it is - during a jadetex upgrade on 2005-03-09, you refused to
update the conffile.

> -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

Probably these lines are the only differences between both files (or
maybe some comments have changed).  Then you can simply remove take the
dpkg-dist version.  If you really have customization in there, the
difference between these two lines also shows what you should do: change
tex to etex and pdftex to pdfetex.  But you can as well use pdfetex in
both cases, since etex is just a symlink to pdfetex.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: