[tex-live] tlmgr problem on a mac

George N. White III gnwiii at gmail.com
Sun Nov 1 19:46:45 CET 2009


On Sun, Nov 1, 2009 at 1:28 PM, Alessandro Languasco <languasc at gmail.com> wrote:
> Hi,
>
> I was trying to update the texlive 2009 pretest on my mac.
>
> First I updated tlmgr from http://ftp.cstug.cz/pub/tex/tlnet/;
> tlmgr update --self was ok.
>
> The following command tlmgr update --all gives me the error
>
> sh-3.2# tlmgr update --all
> tlmgr: package repository http://ftp.cstug.cz/pub/tex/tlnet/
> /usr/local/texlive/2009/tlpkg/installer/xz/xzdec.universal-darwin: (stdin):
> File format not recognized

Download one of the .xz files to a scratch directory and make sure
xzdec.universal-darwin is working.  You can use "xz.universal-darwin -t <file>"
to check that the .xz file is not corrupt, and

xzdec.universal-darwin <file> | tar tvf -

to make sure the tar archive is OK.

Can you try using a different mirror in case the one above has a corrupt file?

> First directive needs to be 'name', not <!DOCTYPE html PUBLIC "-//W3C//DTD
> XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> at
> /usr/local/texlive/2009/tlpkg/TeXLive/TLPOBJ.pm line 123, <RETFH> line 1.
>
> Trying again tlmgr update --self gives the same error.
>
> So it seems (to me) that the tlmgr auto-update on the mac (at least on
> mine...) installs some corrupted file.
>
> So I discarded completely /usr/local/texlive/2009 directory, I installed
> from scratch using mactex 2009 (oct 22 version) and I tried again
> to update. But I got the same mistake (first update --self is fine; but then
> update--all
> doesn't work and from this point nothing works in using tlmgr)
>
>
> Do you have some advice/ suggestion?

I'm not near an Apple machine, but for linux updated today from svn I have:

$ tlmgr update --list
tlmgr: package repository /Data/opt/tex/texlive/svn/Master
Updates for tlmgr itself are present.
===============================================================================
Please update the package manager first, via either
  tlmgr update --self
or by getting the latest updater for Unix-ish systems:
  http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
  http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates.
===============================================================================
texlive.infra [1313k]: local: 15880, source: 15914 (update)
texlive.infra.i386-linux [217k]: local: 15878, source: 15914 (update)
texlive-common [265k]: local: 15719, source: 15914 (update)
texlive-en [2521k]: local: 15871, source: 15915 (update)
xetex-def [17k]: local: 15878, source: 15901 (update)
gwhite at cerberus:~$ tlmgr update --self
tlmgr: package repository /Data/opt/tex/texlive/svn/Master
[1/2, ??:??/??:??] update: texlive.infra [1313k] (15880 -> 15914) ... done
[2/2, 00:00/00:02] update: texlive.infra.i386-linux [217k] (15878 ->
15914) ... done
tlmgr: package log updated at /usr/local/texlive/2009/texmf-var/web2c/tlmgr.log
running mktexlsr ...
done running mktexlsr.
$ tlmgr update --all
tlmgr: package repository /Data/opt/tex/texlive/svn/Master
[1/3, ??:??/??:??] update: texlive-common [265k] (15719 -> 15914) ... done
[2/3, 00:19/00:21] update: texlive-en [2521k] (15871 -> 15915) ... done
[3/3, 00:00/00:03] update: xetex-def [17k] (15878 -> 15901) ... done
tlmgr: package log updated at /usr/local/texlive/2009/texmf-var/web2c/tlmgr.log
running mktexlsr ...
done running mktexlsr.
$ tlmgr --version
tlmgr revision 15761 (2009-10-11 10:00:42 +0200)
tlmgr using installation: /usr/local/texlive/2009
TeX Live (http://tug.org/texlive) version 2009

You could try using the above update-tlmgr-latest.sh

If you still have the problem using a different mirror, some
additional details might be useful:

which version of Mac OS X?, what version is your tlmgr?, what hardware
(intel or ppc)?

-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia


More information about the tex-live mailing list