Bug#674090: texlive-binaries: updmap cannot find TLUtils.pm
Package: texlive-binaries
Version: 2012.20120516-1
Severity: normal
Configuring tex-common always fails for me now when updmap-sys runs:
Setting up tex-common (3.11) ...
Running mktexlsr. This may take some time... done.
Running mtxrun --generate. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.U1Bxx9vW
Please include this file if you report a bug.
Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory
There are no .dpkg-dist or .ucf-dist in /etc/texmf/updmap.d.
Here is /tmp/updmap.U1Bxx9vW:
Can't locate TeXLive/TLUtils.pm in @INC (@INC contains: //tlpkg /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/bin/updmap line 21.
BEGIN failed--compilation aborted at /usr/bin/updmap line 21.
Looking at /usr/bin/updmap, the problem line is
use TeXLive::TLUtils qw(mkdirhier mktexupd win32);
Looking farther up, @INC is set in lines 14-15:
chomp($TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`);
unshift (@INC, "$TEXMFROOT/tlpkg");
But "kpsewhich -var-value=TEXMFROOT" produces "/", which explains why
@INC contains //tlpkg rather than /usr/share/texlive/tlpkg. The latter
would enable finding TLUtils.pm at
/usr/share/texlive/tlpkg/TeXLive/TLUtils.pm
I couldn't figure out understand why "kpsewhich -var-value=TEXMFROOT"
produces "/", or whether that's the correct output. My guess was that
it should be /usr/share/texlive.
-Sanjoy
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages texlive-binaries depends on:
ii dpkg 1.16.3
ii ed 1.6-1
ii install-info 4.13a.dfsg.1-10
ii libc6 2.13-32
ii libfontconfig1 2.9.0-3
ii libfreetype6 2.4.9-1
ii libgcc1 1:4.7.0-8
ii libgraphite3 1:2.3.1-0.2
ii libkpathsea6 2011.20120410-1
ii libpng12-0 1.2.49-1
ii libpoppler13 0.16.7-3
ii libptexenc1 2011.20120410-1
ii libstdc++6 4.7.0-8
ii libx11-6 2:1.4.99.901-2
ii libxaw7 2:1.0.10-2
ii libxmu6 2:1.1.1-1
ii libxpm4 1:3.5.10-1
ii libxt6 1:1.1.3-1
ii perl 5.14.2-9
ii tex-common 3.11
ii texlive-common 2011.20120424-1
ii zlib1g 1:1.2.7.dfsg-1
Versions of packages texlive-binaries recommends:
ii luatex 0.70.1-3
ii python 2.7.2-10
ii ruby 4.8
ii ruby1.8 [ruby] 1.8.7.352-2
ii texlive-base 2011.20120424-1
ii tk8.4 [wish] 8.4.19-4
ii tk8.5 [wish] 8.5.11-1
texlive-binaries suggests no packages.
-- no debconf information
Reply to: