[tex-live] Problems mirroring texlive repository

Berthold Höllmann bhoel at despammed.com
Sat Dec 26 16:57:40 CET 2015


Lars Madsen <daleif at math.au.dk> writes:

> Usually I start by getting the mirror by rsyncing a mirror that supports rsync.

rsync does not work for me, the required ports seem to be blocked by our
firewall. I used wget to do the mirroring. As far as I can see, the
downloaded files are OK, at least the file tlmgr complains about. If I
download "texlive.tlpdb.xz" from my mirror, unpack it and look into it
the structure sems to be OK, but tlmgr does not like its own download
of the file.

>
> Then explicitly telling tlmgr to use the appropriate tlnet url is
>enough.
>
> So
>
> tlmgr - -repository http://mylocalmirrorontheweb/tlnet/ other-options
>
> Ought to work (if I got the repository syntax right)
>
>
>
> /daleif
>
> -----Original Message-----
> From: Berthold Höllmann [berthold.hoellmann at dnvgl.com]
> Received: torsdag, 26 nov. 2015, 18:04
> To: tex-live at tug.org [tex-live at tug.org]
> Subject: [tex-live] Problems mirroring texlive repository
>
> Due to restrictions regarding the required proxy for some of out servers
> I tried to mirror the texlive distribution to be able to run "tlmgr
> update" via this mirror. I configured tlmgr to use this mirror, but I
> get an error message, I can not make sense of:
>
> $>tlmgr update --all -v
> D:tlmgr:main: ::tldownload_server defined
> D:Using system wget (tested).
> D:Using shipped /somepath/texlive/2015/tlpkg/installer/xz/xzdec.x86_64-linux
> for xzdec (tested).
> D:Using shipped /somepath/texlive/2015/tlpkg/installer/xz/xz.x86_64-linux
> for xz (not tested).
> D:persistent connection set up, trying to get
> http://texlivemirror/tlnet/tlpkg/texlive.tlpdb.md5 (for |)
> D:downloading file via persistent connection succeeded
> D:TLPDB.pm: trying to initialize from
> http://texlivemirror/tlnet/tlpkg/texlive.tlpdb
> D:trying to download http://texlivemirror/tlnet/tlpkg/texlive.tlpdb.xz to
> /tmp/KfIykTsOWf
> D:persistent connection set up, trying to get
> http://texlivemirror/tlnet/tlpkg/texlive.tlpdb.xz (for /tmp/KfIykTsOWf)
> D:downloading file via persistent connection succeeded
> D:un-xzing /tmp/KfIykTsOWf to /tmp/oNiyNz354B
> /somepath/texlive/2015/tlpkg/installer/xz/xzdec.x86_64-linux: (stdin): File
> is corrupt
> D:un-xzing /tmp/KfIykTsOWf failed, tryin gplain file
> D:TLPDB: downloading http://texlivemirror/tlnet/tlpkg/texlive.tlpdb.xz
> didn't succeed, try http://texlivemirror/tlnet/tlpkg/texlive.tlpdb
> D:persistent connection set up, trying to get
> http://texlivemirror/tlnet/tlpkg/texlive.tlpdb (for |)
> D:downloading file via persistent connection succeeded
> First directive needs to be 'name', not revision 28539 at
> /somepath/texlive/2015/tlpkg/TeXLive/TLPOBJ.pm line 108, <$fh> line 243382.
>
> OK, it seems texlive.tlpdb.xz and texlive.tlpdb are corrupt, but
>
> $>curl -s http://texlivemirror/tlnet/tlpkg/texlive.tlpdb|head -1
> name 00texlive.config
> $>curl -s http://texlivemirror/tlnet/tlpkg/texlive.tlpdb.xz|xzcat|head -1
> name 00texlive.config
> $>wget -o /dev/null -O - http://texlivemirror/tlnet/tlpkg/texlive.tlpdb|head -1
> name 00texlive.config
> $>wget -o /dev/null -O -
> http://texlivemirror/tlnet/tlpkg/texlive.tlpdb.xz|xzcat|head -1
> name 00texlive.config
> $>
>
> seem to say otherwise. Is there anything I can do to make my mirror
> working?
>
> Thanks
> Berthold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20151226/ff0b0e43/attachment.bin>


More information about the tex-live mailing list