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

Bug#579000: texlive-base: fails to configure: fmtutil-sys failed: cannot find pdftexconfig.tex



On Sat, Apr 24, 2010 at 11:14:18AM +0200, Hilmar Preuße wrote:
> On 24.04.10 Lionel Elie Mamane (lionel@mamane.lu) wrote:

>> Versions of packages texlive-base depends on:
>> pn  tex-common                <none>         (no description available)

> texlive-base depends on tex-common. How did you manage to install it
> w/o having tex-common installed?

I have tex-common:

$ dpkg -l tex-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version            Description
+++-==================-==================-====================================================
iF  tex-common         2.07               common infrastructure for building and installing Te
$ grep -A1 '^Package: tex-common' /var/lib/dpkg/status
Package: tex-common
Status: install ok half-configured
$

But indeed, if I use reportbug to create a new bug report for
texlive-base, it shows tex-common as desired/status pn. This might be
a bug in how reportbug queries the state of tex-common.

So now I do:
$ sudo dpkg --configure tex-common; echo $?
Setting up tex-common (2.07) ...
Running mktexlsr. This may take some time... done.
texlive-base is not ready, delaying updmap-sys call
texlive-base is not ready, skipping fmtutil-sys --all call
0
$ dpkg -l tex-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version            Description
+++-==================-==================-====================================================
ii  tex-common         2.07               common infrastructure for building and installing Te
$ sudo dpkg --configure texlive-base
Setting up texlive-base (2009-8) ...
Running mktexlsr. This may take some time... done.
Building format(s) --all --cnffile /etc/texmf/fmt.d/10texlive-base.cnf.
	 This may take some time... 
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.OKYxWvL9
Please include this file if you report a bug.

dpkg: error processing texlive-base (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for menu ...
Processing triggers for tex-common ...
texlive-base is not ready, delaying updmap-sys call
Building e-tex based formats --byhyphen /var/lib/texmf/tex/generic/config/language.def.
	 This may take some time... 
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.YejmsE0L
Please include this file if you report a bug.

dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 texlive-base
 tex-common
$ dpkg -l tex-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version            Description
+++-==================-==================-====================================================
iF  tex-common         2.07               common infrastructure for building and installing Te
$

Trying to configure texlive-base "unconfigures" tex-common in some way.

>> fmtutil: running `pdftex -ini   -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx *pdfetex.ini' ...
>> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (INITEX)
>>  restricted \write18 enabled.
>>  (/usr/share/texmf-texlive/web2c/cp227.tcx)
>> entering extended mode
>> (/usr/share/texmf-texlive/tex/plain/config/pdfetex.ini
>> ! I can't find file `pdftexconfig.tex'.
>> l.4 \input pdftexconfig.tex

> There should be two incarnations, one in /usr/share/texlive-base/
> the other in /etc/texmf/tex/generic/config/ . Could you double check
> if that file is there?

Only in one of the places:

$ ls -l /etc/texmf/tex/generic/config/ /usr/share/texlive-base/pdftexconfig.tex
-rw-r--r-- 1 root root 284  3 jan  2006 /usr/share/texlive-base/pdftexconfig.tex

/etc/texmf/tex/generic/config/:
total 0

-- 
Lionel



Reply to: