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

Bug#677607: Fails to upgrade 3.11 → 3.12 (updmap-sys failed)



Hey,

On Fri, Jun 15, 2012 at 03:35:40PM +0100, Julian Gilbey wrote:
> On Fri, Jun 15, 2012 at 10:56:21AM +0100, Iain Lane wrote:
> > The contents of that file are:
> > 
> > ,----
> > | 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 l
> > | ine 21.
> > | BEGIN failed--compilation aborted at /usr/bin/updmap line 21.
> > `----
> > 
> > I don't think I've messed with @INC. Pointers on where to look welcomed.
> 
> That's bizarre.  updmap comes from texlive-binaries; which version of
> that do you have installed?  My version of updmap reads, on line 32:

I have:

,----
| laney@polihale> apt-cache policy texlive-binaries
| texlive-binaries:
|   Installed: 2012.20120516-1
|   Candidate: 2012.20120530-2+b1
|   Version table:
|      2012.20120530-2+b1 0
|         500 http://ftp.uk.debian.org/debian/ testing/main i386 Packages
|         500 ftp://ftp.uk.debian.org/debian/ sid/main i386 Packages
|  *** 2012.20120516-1 0
|         100 /var/lib/dpkg/status
`----

but I can't upgrade to the new version, because of the depends on
tex-common which cannot be satisfied due to this bug. :-)

> 
>   unshift (@INC, "/usr/share/texlive/tlpkg");
> 
> What does yours read?

,----
| BEGIN {
|   $^W=1;
|   chomp($TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`);
|   unshift (@INC, "$TEXMFROOT/tlpkg");
| }
`----

Probably this changed in the later version, if you're seeing some
different code. And indeed running that command gives "/" as a result.

Can tex-common be made more robust against failure of updmap? It's not a
depends there so must not be entirely required — maybe you don't need to
fail the installation?

Thanks,

-- 
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]
PhD student                                       [ ial@cs.nott.ac.uk ]

Attachment: signature.asc
Description: Digital signature


Reply to: