Bug#648278: texlive-base fails to install
Norbert Preining writes: > Can you run *AFTER* you have done the above, > mktexlsr /usr/share/texmf > and retry to configure texlive-base I suspect there's some weird interaction going on here. When I run the postinst script from the command line, it works, when it's run by dpkg, it doesn't work. Not sure what's happening here. I'll poke it a bit more. //Ingvar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#648278: texlive-base fails to install
Norbert Preining writes: > This is very strange. Can you send the output of running > env > as root. # env TERM=xterm SHELL=/bin/bash XDG_SESSION_COOKIE=3546eadc32a33005a2899b0046c72855-1320576723.440014-2108539110 USER=root LD_LIBRARY_PATH=/usr/lib/fglrx:/usr/lib/xorg LIBGL_DRIVERS_PATH=/usr/lib/dri PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 MAIL=/var/mail/root PWD=/etc/init.d LANG=en_GB.UTF-8 PS1=\h:\w\$ HOME=/root SHLVL=2 LANGUAGE=en_GB:en_US:en_GB:en LOGNAME=root DISPLAY=:0 XAUTHORITY=/home/ingvar/.Xauthority _=/usr/bin/env > Furthermore, can you send the output of > kpsewhich -debug=-1 tcfmgr.map 2>&1 > > Interestingly, I can find a tcfmgr.map file in /usr/share/texmf/texconfig: > > # ls -l /usr/share/texmf/texconfig/tcfmgr.map > > Yes, that is not the problem. It is that it cannot be found. # kpsewhich -debug=-1 tcfmgr.map 2>&1 kdebug:Search path for cnf files (from compile-time paths.h) kdebug: = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c kdebug: before expansion = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c kdebug: application override path = (none) kdebug: application config file path = (none) kdebug: texmf.cnf path = (none) kdebug: compile-time path = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c kdebug: environment variables = TEXMFCNF kdebug: default suffixes = .cnf kdebug: other suffixes = (none) kdebug: search only with suffix = 0 kdebug: runtime generation program = (none) kdebug: runtime generation command = (none) kdebug: program enabled = 0 kdebug: program enable level = 0 kdebug: open files in binary mode = 0 kdebug: numeric format value = 8 kdebug:start search(file=texmf.cnf, must_exist=1, find_all=1, path=/usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c). kdebug:path element /usr/share/texmf/web2c => /usr/share/texmf/web2c/ kdebug:path element /usr/share/texmf-texlive/web2c => /usr/share/texmf-texlive/web2c/ kdebug:path element /usr/local/share/texmf/web2c => kdebug:Search path for ls-R files (from texmf.cnf) kdebug: = /var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive kdebug: before expansion = {!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST} kdebug: application override path = (none) kdebug: application config file path = (none) kdebug: texmf.cnf path = {!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST} kdebug: compile-time path = {!!/nonesuch/texmfsysconfig,!!/nonesuch/texmfsysvar,!!/nonesuch/texmfmain,!!/nonesuch/texmflocal,!!/nonesuch/texmfdist} kdebug: environment variables = TEXMFDBS kdebug: default suffixes = ls-R ls-r kdebug: other suffixes = (none) kdebug: search only with suffix = 0 kdebug: runtime generation program = (none) kdebug: runtime generation command = (none) kdebug: program enabled = 0 kdebug: program enable level = 0 kdebug: open files in binary mode = 0 kdebug: numeric format value = 9 kdebug:start search(files=[ls-R ls-r], must_exist=1, find_all=1, path=/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive). kdebug:path element /var/lib/texmf => /var/lib/texmf/ kdebug:path element /usr/local/share/texmf => /usr/local/share/texmf/ kdebug:path element /usr/share/texmf => /usr/share/texmf/ kdebug:path element /usr/share/texmf-texlive => /usr/share/texmf-texlive/ kdebug:search([ls-R ls-r]) =>kdebug:variable: TEXMFLOG = (nil) /var/lib/texmf/ls-R /usr/local/share/texmf/ls-R /usr/share/texmf/ls-R /usr/share/texmf-texlive/ls-R kdebug:/var/lib/texmf/ls-R: 36 entries in 16 directories (0 hidden). kdebug:ls-R hash table:32003 buckets, 31 nonempty (0%); 36 entries, average chain 1.2. kdebug:/usr/local/share/texmf/ls-R: 2 entries in 1 directories (0 hidden). kdebug:ls-R hash table:32003 buckets, 31 nonempty (0%); 38 entries, average chain 1.2. kdebug:/usr/share/texmf/ls-R: 1097 entries in 33 directories (0 hidden). kdebug:ls-R hash table:32003 buckets, 1067 nonempty (3%); 1135 entries, average chain 1.1. kdebug:/usr/share/texmf-texlive/ls-R: 5176 entries in 316 directories (0 hidden). kdebug:ls-R hash table:32003 buckets, 4586 nonempty (14%); 6311 entries, average chain 1.4. kdebug:start search(file=aliases, must_exist=1, find_all=1, path=/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive). kdebug:search(aliases) => kdebug:Search path for gf files (from texmf.cnf) kdebug: = .:/root/.texmf-config/fonts/gf:/root/.texmf-var/fonts/gf:/root/texmf/fonts/gf:/etc/texmf/fonts/gf:!!/var/lib/texmf/fonts/gf:!!/usr/local/share/texmf/fonts/gf:!!/usr/share/texmf/fonts/gf:!!/usr/share/texmf-texlive/fonts/gf kdebug: before expansion = .:$TEXMF/fonts/gf/$MAKETEX_MODE// kdebug: application override path = (none) kdebug: application config file path = (none) kdebug: texmf.cnf path = .:$TEXMF/fonts/gf/$MAK
Bug#648278: texlive-base fails to install
On Thursday 10 November 2011 14:52:28 Hilmar Preuße wrote: > On 10.11.11 Ron Jensen (w...@jentronics.com) wrote: > > Hi, > > > I had the same bug. I did not run env, but did run kpsewhich before > > running > > > > # mktexlsr /usr/share/texmf > > > > Which allowed the install to finish successfully. > > Are you sure? kpsewhich is just a tool to show anything i.e. for > debugging, i.e. didn't change anything on your system. > > H. Sorry, you misunderstood me. Running "mktexlsr /usr/share/texmf" was what allowed the install to work, not running kpsewhich. R. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#648278: texlive-base fails to install
On 10.11.11 Ron Jensen (w...@jentronics.com) wrote: Hi, > I had the same bug. I did not run env, but did run kpsewhich before > running > > # mktexlsr /usr/share/texmf > > Which allowed the install to finish successfully. > Are you sure? kpsewhich is just a tool to show anything i.e. for debugging, i.e. didn't change anything on your system. H. -- sigmentation fault -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#648278: texlive-base fails to install
I had the same bug. I did not run env, but did run kpsewhich before running # mktexlsr /usr/share/texmf Which allowed the install to finish successfully. Thanks, Ron # kpsewhich -debug=-1 tcfmgr.map kdebug:Search path for cnf files (from compile-time paths.h) kdebug: = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c kdebug: before expansion = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c kdebug: application override path = (none) kdebug: application config file path = (none) kdebug: texmf.cnf path = (none) kdebug: compile-time path = /usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c kdebug: environment variables = TEXMFCNF kdebug: default suffixes = .cnf kdebug: other suffixes = (none) kdebug: search only with suffix = 0 kdebug: runtime generation program = (none) kdebug: runtime generation command = (none) kdebug: program enabled = 0 kdebug: program enable level = 0 kdebug: open files in binary mode = 0 kdebug: numeric format value = 8 kdebug:start search(file=texmf.cnf, must_exist=1, find_all=1, path=/usr/share/texmf/web2c:/usr/share/texmf-texlive/web2c:/usr/local/share/texmf/web2c). kdebug:path element /usr/share/texmf/web2c => /usr/share/texmf/web2c/ kdebug:path element /usr/share/texmf-texlive/web2c => /usr/share/texmf-texlive/web2c/ kdebug:path element /usr/local/share/texmf/web2c => kdebug:Search path for ls-R files (from texmf.cnf) kdebug: = /var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive kdebug: before expansion = {!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!! $TEXMFDIST} kdebug: application override path = (none) kdebug: application config file path = (none) kdebug: texmf.cnf path = {!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFMAIN,!! $TEXMFDIST} kdebug: compile-time path = {!!/nonesuch/texmfsysconfig,!!/nonesuch/texmfsysvar,!!/nonesuch/texmfmain,!!/nonesuch/texmflocal,!!/nonesuch/texmfdist} kdebug: environment variables = TEXMFDBS kdebug: default suffixes = ls-R ls-r kdebug: other suffixes = (none) kdebug: search only with suffix = 0 kdebug: runtime generation program = (none) kdebug: runtime generation command = (none) kdebug: program enabled = 0 kdebug: program enable level = 0 kdebug: open files in binary mode = 0 kdebug: numeric format value = 9 kdebug:start search(files=[ls-R ls-r], must_exist=1, find_all=1, path=/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive). kdebug:path element /var/lib/texmf => /var/lib/texmf/ kdebug:path element /usr/local/share/texmf => /usr/local/share/texmf/ kdebug:path element /usr/share/texmf => /usr/share/texmf/ kdebug:path element /usr/share/texmf-texlive => /usr/share/texmf-texlive/ kdebug:search([ls-R ls-r]) =>kdebug:variable: TEXMFLOG = (nil) /var/lib/texmf/ls-R /usr/share/texmf/ls-R /usr/share/texmf-texlive/ls-R kdebug:/var/lib/texmf/ls-R: 50 entries in 16 directories (0 hidden). kdebug:ls-R hash table:32003 buckets, 45 nonempty (0%); 50 entries, average chain 1.1. kdebug:/usr/share/texmf/ls-R: 513 entries in 40 directories (0 hidden). kdebug:ls-R hash table:32003 buckets, 521 nonempty (1%); 563 entries, average chain 1.1. kdebug:/usr/share/texmf-texlive/ls-R: 5655 entries in 357 directories (0 hidden). kdebug:ls-R hash table:32003 buckets, 4605 nonempty (14%); 6218 entries, average chain 1.4. kdebug:start search(file=aliases, must_exist=1, find_all=1, path=/var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive). kdebug:search(aliases) => kdebug:Search path for gf files (from texmf.cnf) kdebug: = .:/root/.texmf-config/fonts/gf:/root/.texmf-var/fonts/gf:/root/texmf/fonts/gf:/etc/texmf/fonts/gf:!!/var/lib/texmf/fonts/gf:!!/usr/local/share/texmf/fonts/gf:!!/usr/share/texmf/fonts/gf:!!/usr/share/texmf-texlive/fonts/gf kdebug: before expansion = .:$TEXMF/fonts/gf/$MAKETEX_MODE// kdebug: application override path = (none) kdebug: application config file path = (none) kdebug: texmf.cnf path = .:$TEXMF/fonts/gf/$MAKETEX_MODE// kdebug: compile-time path = .:/nonesuch/texmf/fonts/gf/$MAKETEX_MODE// kdebug: environment variables = GFFONTS GLYPHFONTS TEXFONTS kdebug: default suffixes = gf kdebug: other suffixes = (none) kdebug: search only with suffix = 1 kdebug: runtime generation program = (none) kdebug: runtime generation command = (none) kdebug: program enabled = 0 kdebug: program enable level = 0 kdebug: open files in binary mode = 1 kdebug: numeric format value = 0 kdebug:variable: MKTEXPK = (nil) kdebug:Search path for pk files (from texmf.cnf) kdebug: = .:/root/.texmf-config/fonts/pk:/root/.texmf-var/fonts/pk:/root/texmf/fonts/pk:/etc/texmf/fonts/pk:!!/var/lib/texmf/fonts/pk:!!/usr/local/share/texmf/fonts/pk:!!/usr/share/texmf/fonts/pk:!!/usr/share/texmf-texlive/fonts/pk:/tmp/texfonts/pk:/root/.texmf-config/fonts/pk/modeless//:/root/.
Bug#648278: texlive-base fails to install
tags 648278 + unreproducible severity 648278 normal thanks > # dpkg --configure texlive-base > Setting up texlive-base (2009-14) ... > tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. This is very strange. Can you send the output of running env as root. Furthermore, can you send the output of kpsewhich -debug=-1 tcfmgr.map 2>&1 > Interestingly, I can find a tcfmgr.map file in /usr/share/texmf/texconfig: > # ls -l /usr/share/texmf/texconfig/tcfmgr.map Yes, that is not the problem. It is that it cannot be found. Can you run *AFTER* you have done the above, mktexlsr /usr/share/texmf and retry to configure texlive-base Best wishes Norbert Norbert Preiningpreining@{jaist.ac.jp, logic.at, debian.org} JAIST, Japan TeX Live & Debian Developer DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 DROITWICH (n.) A street dance. The two partners approach from opposite directions and try politely to get out of each other's way. They step to the left, step to the right, apologise, step to the left again, apologise again, bump into each other and repeat as often as unnecessary. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#648278: texlive-base fails to install
Package: texlive-base Version: 2009-14 Justification: renders package unusable Severity: grave Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** During a system upgrade, my LaTeX infrastructure failed to upgrade, causing the upgrade to block. In the interest of getting everything else upgraded, I uninstalled the blocking packages. Now, when trying to re-install, I am getting the same warnings. The texlive-base package fails to install due to a missing configuration file. The diagnostic error output is: # dpkg --configure texlive-base Setting up texlive-base (2009-14) ... tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. dpkg: error processing texlive-base (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: texlive-base Interestingly, I can find a tcfmgr.map file in /usr/share/texmf/texconfig: # ls -l /usr/share/texmf/texconfig/tcfmgr.map -rw-r--r-- 1 root root 401 Jul 26 2008 /usr/share/texmf/texconfig/tcfmgr.map So far, I haven't done much to try to resolve this issue, but am happy to assist trying to resolve this. -- Package-specific info: If you report an error when running one of the TeX-related binaries (latex, pdftex, metafont,...), or if the bug is related to bad or wrong output, please include a MINIMAL example input file that produces the error in your report. Please run your example with (pdf)latex -recorder ... (or any other program that supports -recorder) and send us the generated file with the extension .fls, it lists all the files loaded during the run and can easily explain problems induced by outdated files in your home directory. Don't forget to also include minimal examples of other files that are needed, e.g. bibtex databases. Often it also helps to include the logfile. Please, never send included pictures! If your example file isn't short or produces more than one page of output (except when multiple pages are needed to show the problem), you can probably minimize it further. Instructions on how to do that can be found at http://www.latex-einfuehrung.de/mini-en.html (english) or http://www.latex-einfuehrung.de/mini.html (german) ## minimal input file ## other files ## List of ls-R files -rw-r--r-- 1 root root 725 Nov 10 06:25 /var/lib/texmf/ls-R -rw-rw-r-- 1 root staff 80 Nov 6 17:15 /usr/local/share/texmf/ls-R lrwxrwxrwx 1 root root 29 Jun 26 01:04 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN lrwxrwxrwx 1 root root 27 Sep 20 08:11 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE lrwxrwxrwx 1 root root 27 Sep 20 08:11 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE ## Config files lrwxrwxrwx 1 root root 20 Jun 26 01:04 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf -rw-r--r-- 1 root root 3904 Nov 6 17:15 /var/lib/texmf/web2c/fmtutil.cnf -rw-r--r-- 1 root root 9247 Nov 6 17:15 /var/lib/texmf/web2c/updmap.cfg -rw-r--r-- 1 root root 730 Nov 6 17:15 /var/lib/texmf/tex/generic/config/language.dat ## Files in /etc/texmf/web2c/ total 1 -rw-r--r-- 1 root root 283 Aug 24 2006 mktex.cnf ## md5sums of texmf.d 3875bf0f4a53a29b7f247399dc9833e2 /etc/texmf/texmf.d/05TeXMF.cnf 6e82a3d4c00ae7e4f86aa8dcf9438cf3 /etc/texmf/texmf.d/15Plain.cnf c60a084820a0b73e3bfbf2e90bda437c /etc/texmf/texmf.d/45TeXinputs.cnf ea33127256c6a9f37145ae5b16fdb80c /etc/texmf/texmf.d/55Fonts.cnf afccf1d3f87057411166a77c58e00bd1 /etc/texmf/texmf.d/65BibTeX.cnf 9da7c1c7b1eaf06f941af91f48a23068 /etc/texmf/texmf.d/75DviPS.cnf 7ae52efac46feb97010986e57877d12e /etc/texmf/texmf.d/80DVIPDFMx.cnf 37329819f1109e8a457e64b8b58fecdb /etc/texmf/texmf.d/85Misc.cnf a8952d594677235951d447665ec46e9c /etc/texmf/texmf.d/90TeXDoc.cnf 402d5adb3864c09ed3cd80c0f2131361 /etc/texmf/texmf.d/95NonPath.cnf -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.39-2-486 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages texlive-base depends on: ii debconf [debconf-2.0] 1.5.41