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

Bug#323826: tetex-bin: postinst fails



(sorry for the unfinished first mail)

Jörg Sommer <joerg@alea.gnuu.de> wrote:

> Richte tetex-bin ein (3.0-5) ...
> Merging information from /etc/texmf/texmf.d/ into /etc/texmf/texmf.cnf ... done
>
> An essential entry in /etc/texmf/texmf.cnf is missing. Fixing
>
> sed: -e Ausdruck #1, Zeichen 30: unknown command: `%'

Thank you for spotting this, it is fixed in our repository.

I think it doesn't make sense to put much effort in debugging the other
things you reported unless the postinst has been run succesfully once.

Do you really *need* the old configuration, or did you just set
force_confold for testing purposes?  If you cannot change the old
config, I suggest that you migrate it from /etc/texmf/texmf.cnf to the
respective places in /etc/texmf/texmf.d/.  If this is too much work
currently, you can also just do the following:

$ grep ^[^%]*TEXMFSYSVAR /etc/texmf/texmf.d/05TeXMF.cnf
TEXMFSYSVAR = /var/lib/texmf
TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFSYSVAR,!!$TEXMFMAIN}

The first line that this command gives *must* be in
/etc/texmf/texmf.cnf.  There is already a line starting with "TEXMF =",
and it must contain '!!$TEXMFSYSVAR' just before the entry for
TEXMFMAIN. 

After you have changed this, the postinst script should run without
problems.  Can you please try that?

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




Reply to: