[tlu] First Time in a Long Time

Adam R. Maxwell amaxwell at mac.com
Mon Sep 16 15:46:38 CEST 2019



> On Sep 16, 2019, at 00:29 , Norbert Preining <norbert at preining.info> wrote:
> 
> Hi Adam,
> 
>> $ time tlmgr update --list --repository http://192.168.0.1
>> real	61m58.597s
> 
> Interesting. By default it used LWP or curl on Mac I guess.
> Can you run this with -v -v and see what happens?
> 
> We set a retry of 10, maybe this is too much?

Ah. It looks like it's going to curl after trying LWP, and
it apparently has an interesting "feature" for retry:

l$ curl --retry 5 --connect-timeout 30  http://192.168.0.1/tlpkg/texlive.tlpdb.xz
Warning: Transient problem: timeout Will retry in 1 seconds. 5 retries left.
Warning: Transient problem: timeout Will retry in 2 seconds. 4 retries left.
Warning: Transient problem: timeout Will retry in 4 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 8 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 16 seconds. 1 retries left.
curl: (28) Connection timed out after 30003 milliseconds

Here's the tlmgr output. I haven't seen an updated curl line in
ten minutes, maybe because --silent?

$ time tlmgr -v -v update --list --repository http://192.168.0.1
DD:action = update
DD:location => http://192.168.0.1
DD:list => 1
D:Cannot open package log file for appending: /usr/local/texlive/2019/texmf-var/web2c/tlmgr.log
D:Will not log package installation/removal/update for this run
DD:tlmgr:main: do persistent downloads = 1
DD:setup_persistent_downloads has net_lib_avail set
DD:TLUtils:setup_persistent_downloads: got ::tldownload_server
D:tlmgr:main: ::tldownload_server defined: TeXLive::TLDownload=HASH(0x7fbcd8c885b8)
DD:TLPDB new: verify=0
D:setup_programs: preferring system versions
D:trying to set up system curl, arg --version
D:program curl found in the path
D:trying to set up system wget, arg --version
D:program wget not usable from path
D:(unix) trying to set up wget, default /usr/local/texlive/2019/tlpkg/installer/wget/wget.x86_64-darwin, arg --version
DD:default /usr/local/texlive/2019/tlpkg/installer/wget/wget.x86_64-darwin has executable permissions
D:Using shipped /usr/local/texlive/2019/tlpkg/installer/wget/wget.x86_64-darwin for wget (tested).
D:trying to set up system lz4, arg --version
D:program lz4 not usable from path
D:(unix) trying to set up lz4, default /usr/local/texlive/2019/tlpkg/installer/lz4/lz4.x86_64-darwin, arg --version
DD:default /usr/local/texlive/2019/tlpkg/installer/lz4/lz4.x86_64-darwin has executable permissions
D:Using shipped /usr/local/texlive/2019/tlpkg/installer/lz4/lz4.x86_64-darwin for lz4 (tested).
D:trying to set up system gzip, arg --version
D:program gzip found in the path
D:trying to set up system xz, arg --version
D:program xz not usable from path
D:(unix) trying to set up xz, default /usr/local/texlive/2019/tlpkg/installer/xz/xz.x86_64-darwin, arg --version
DD:default /usr/local/texlive/2019/tlpkg/installer/xz/xz.x86_64-darwin has executable permissions
D:Using shipped /usr/local/texlive/2019/tlpkg/installer/xz/xz.x86_64-darwin for xz (tested).
DD:dumping $::progs = {
  'compressor' => 'lz4',
  'curl' => 'curl',
  'gzip' => 'gzip',
  'lz4' => '/usr/local/texlive/2019/tlpkg/installer/lz4/lz4.x86_64-darwin',
  'tar' => 'tar',
  'wget' => '/usr/local/texlive/2019/tlpkg/installer/wget/wget.x86_64-darwin',
  'working_compressors' => [
    'lz4',
    'gzip',
    'xz'
  ],
  'working_downloaders' => [
    'curl',
    'wget'
  ],
  'xz' => '/usr/local/texlive/2019/tlpkg/installer/xz/xz.x86_64-darwin'
};
D:Using checksum method digest::sha
D:Testing for gpg in gpg
D: ... gpg not ok! [gpg --version >/dev/null 2>&1]
D:Testing for gpg in gpg2
D: ... gpg not ok! [gpg2 --version >/dev/null 2>&1]
D:Testing for gpg in /usr/local/texlive/2019/tlpkg/installer/gpg/gpg.x86_64-darwin
D:gpg command line: "/usr/local/texlive/2019/tlpkg/installer/gpg/gpg.x86_64-darwin" --homedir "/usr/local/texlive/2019/tlpkg/gpg" --no-secmem-warning --no-permission-warning --lock-never 
D:will verify cryptographic signatures
DD:loc_digest = f34d0be0366a00234fbc09388eb64b6c
DD:loc_copy = /usr/local/texlive/2019/tlpkg/texlive.tlpdb.f34d0be0366a00234fbc09388eb64b6c
DD:TLPDB new: verify=1
D:TLPDB.pm: trying to initialize from http://192.168.0.1/tlpkg/texlive.tlpdb
DD:tl_tempdir: creating global tempdir /var/folders/w4/h3zjdhj08xjg5f006s6_jtz80000gn/T/XTbc25wzDN
DD:tl_tempfile: creating tempfile /var/folders/w4/h3zjdhj08xjg5f006s6_jtz80000gn/T/XTbc25wzDN/CMVcLv6wRd
DD:tl_tempfile: creating tempfile /var/folders/w4/h3zjdhj08xjg5f006s6_jtz80000gn/T/XTbc25wzDN/7ajlYgQJsl
D:trying to download http://192.168.0.1/tlpkg/texlive.tlpdb.xz to /var/folders/w4/h3zjdhj08xjg5f006s6_jtz80000gn/T/XTbc25wzDN/7ajlYgQJsl
D:persistent connection set up, trying to get http://192.168.0.1/tlpkg/texlive.tlpdb.xz (for /var/folders/w4/h3zjdhj08xjg5f006s6_jtz80000gn/T/XTbc25wzDN/7ajlYgQJsl)
D:TLDownload::get_file: response error: 500 Can't connect to 192.168.0.1:80 (timeout) (for http://192.168.0.1/tlpkg/texlive.tlpdb.xz)
D:TLUtils::download_file: persistent connection ok, but download failed: http://192.168.0.1/tlpkg/texlive.tlpdb.xz
D:TLUtils::download_file: retrying with wget.
D:TLUtils::_download_file_program: curl http://192.168.0.1/tlpkg/texlive.tlpdb.xz /var/folders/w4/h3zjdhj08xjg5f006s6_jtz80000gn/T/XTbc25wzDN/7ajlYgQJsl
D:downloading http://192.168.0.1/tlpkg/texlive.tlpdb.xz using curl --user-agent texlive/curl --retry 10 --fail --location --connect-timeout 30 --silent --output



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/mailman/private/tlu/attachments/20190916/3f035804/attachment-0001.html>


More information about the tlu mailing list