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

Bug#357289: tetex-bin: Configuration fails - package won't install



Steve Lane <drsteve@rna.berkeley.edu> wrote:

> drsteve> dpkg -l tex-common
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name                         Version                      Description
> +++-============================-============================-========================================================================
> ii  tex-common                   0.15                         Common infrastructure for using and building TeX in Debian
>
> drsteve> ls -l /var/lib/texmf/web2c/fmtutil.cnf
> 0 lrwxrwxrwx  1 root root 22 Apr 19  2005 /var/lib/texmf/web2c/fmtutil.cnf -> /etc/texmf/fmtutil.cnf

Ah.  This file shouldn't be a symlink, but a real file.  Hm, did we ever
have that setup, maybe during sarge development?  Anyway, when
update-fmtutil tries to generate that file, it should either

- write to the destination of the link, or

- simply replace the symlink by a real file, or

- stop with an error, 

instead of doing nothing as it currently does.

I think I'm going to change it so that it gives an error (it'd be
surprising if local customization in /etc/texmf/fmtutil.cnf suddenly
stopped working).

So to fix your bug, simply remove the symlink.  In case that you have
some local customization in /etc/texmf/fmtutil.cnf:  The real conffile
is /etc/texmf/fmt.d/01tetex.cnf, please make your changes there, or
better, if you only have *additions*, create a new file with extension
*.cnf in /etc/texmf/fmt.d/ and place your additions there.

By the way, this is explained in README.Debian (in text and html
format). 


Regards, Frank

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)




Reply to: