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

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



I did as you suggested:

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

root> rm /var/lib/texmf/web2c/fmtutil.cnf

root> ls -l /var/lib/texmf/web2c/fmtutil.cnf
ls: /var/lib/texmf/web2c/fmtutil.cnf: No such file or directory


Now I get this:


root> apt-get install tetex-bin
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  tetex-base
Suggested packages:
  tetex-extra gs-gpl gs-esp gs-afpl gv postscript-viewer xpdf-reader pdf-viewer texi2html dvipng chktex lacheck rubber sam2p
Recommended packages:
  tetex-doc dialog perl-tk
The following NEW packages will be installed:
  tetex-base tetex-bin
0 upgraded, 2 newly installed, 0 to remove and 18 not upgraded.
Need to get 0B/26.0MB of archives.
After unpacking 86.4MB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
Selecting previously deselected package tetex-base.
(Reading database ... 67635 files and directories currently installed.)
Unpacking tetex-base (from .../tetex-base_3.0-15_all.deb) ...
Selecting previously deselected package tetex-bin.
Unpacking tetex-bin (from .../tetex-bin_3.0-14_i386.deb) ...
Setting up tetex-base (3.0-15) ...
done

Creating config file /etc/texdoctk/texdocrc with new version

Setting up tetex-bin (3.0-14) ...

Creating config file /etc/texmf/fmt.d/01tetex.cnf with new version
Running fmtutil-sys. This may take some time. ...
Running updmap-sys. This may take some time. ...
updmap failed. Output has been stored in
/tmp/tetex.updmap.XXjv8Wcy
Please include this file if you report a bug.
dpkg: error processing tetex-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tetex-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

root> ls -l /tmp/tetex.updmap.XXjv8Wcy
4 -rw-------  1 root root 46 Mar 16 09:58 /tmp/tetex.updmap.XXjv8Wcy

root> cat !$
cat /tmp/tetex.updmap.XXjv8Wcy
updmap-sys: config file updmap.cfg not found.

--
Steve Lane
System, Network and Security Administrator
Doudna Lab
Biomolecular Structure and Mechanism Group
UC Berkeley


On Thu, Mar 16, 2006 at 06:41:58PM +0100, Frank K?ster wrote:
> 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: