Concerning problems with updates from mirror.ctan

Robert w.m.l at gmx.net
Sun Apr 25 02:04:13 CEST 2021


Hi,

I'm still having problems with updating.

Everything works fine if I specify a repository manually (other than 
mirror.ctan.org), be it https, http or ftp. However, using the mirror 
repository (either https or http), it always goes like this:

| $ tlmgr --repository https://mirror.ctan.org/systems/texlive/tlnet 
update --list
| cannot contact mirror.ctan.org, returning a backbone server!
...

 From then on the updating process sometimes works, sometimes doesn't 
(totally random to me, see the log files below).

I wonder whether this may be due to the fact that the wget provided with 
TL is compiled without HTTPS support (I'm on Mac OS 10.12 
(x86_64-darwinlegacy), and don't have a system wget). Because when I do 
on the command line what query_ctan_mirror in TLUtils.pm does, I only get:

| $./tlpkg/installer/wget.x86_64-darwinlegacy https://mirror.ctan.org
| https://mirror.ctan.org: HTTPS support not compiled in.


Best,
Robert


Here's the verbose output of two consecutive runs (default ctan 
repository), done within seconds: the first seems to be fine, the second 
one fails:


--------------------------
$ tlmgr -v update --list
D:appending to package log file: 
/Users/schlcht/Library/texlive/2021/texmf-var/web2c/tlmgr.log
D:appending to command log file: 
/Users/schlcht/Library/texlive/2021/texmf-var/web2c/tlmgr-commands.log
D:tlmgr:main: ::tldownload_server hash:: 
{enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x7fb1826024c8)}
D:setup_programs: preferring system versions
D:program curl found in path
D:program wget not usable from path
D:(unix) trying to set up wget, default 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/wget/wget.x86_64-darwinlegacy, 
arg --version
D: Using shipped 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/wget/wget.x86_64-darwinlegacy 
for wget (tested).
D:program lz4 not usable from path
D:(unix) trying to set up lz4, default 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/lz4/lz4.x86_64-darwinlegacy, 
arg --version
D: Using shipped 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/lz4/lz4.x86_64-darwinlegacy 
for lz4 (tested).
D:program gzip found in path
D:program xz not usable from path
D:(unix) trying to set up xz, default 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/xz/xz.x86_64-darwinlegacy, 
arg --version
D: Using shipped 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/xz/xz.x86_64-darwinlegacy 
for xz (tested).
D:Using checksum method digest::sha
D:Testing for gpg in gpg
D: ... gpg ok! [gpg --version >/dev/null 2>&1]
D:gpg command line: gpg --homedir 
"/Users/schlcht/Library/texlive/2021/tlpkg/gpg" --no-secmem-warning 
--no-permission-warning --lock-never
D:will verify cryptographic signatures
cannot contact mirror.ctan.org, returning a backbone server!
D:TLPDB.pm: trying to initialize from 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
D:trying to download 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
to /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/4BcIdBfJGT
D:persistent connection set up, trying to get 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
(for /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/4BcIdBfJGT)
D:TLDownload::get_file: response error: 500 Can't verify SSL peers 
without knowing which Certificate Authorities to trust (for 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz)
D:TLUtils::download_file: persistent connection ok, but download failed: 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/4BcIdBfJGT
D:downloading 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
using curl --user-agent texlive/curl --retry 4 --retry-delay 5 --fail 
--location --connect-timeout 30 --silent --output
D:download of 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
succeeded
D:TLUtils::download_file: downloading using curl succeeded
D:decompressing 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/4BcIdBfJGT 
to /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/cWNaRVVVrk
D:TLUtils::system_pipe: calling 
"/Users/schlcht/Library/texlive/2021/tlpkg/installer/xz/xz.x86_64-darwinlegacy" 
-dcf < 
"/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/4BcIdBfJGT" 
 > "/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/cWNaRVVVrk"
D:TLUtils::system_pipe: removing 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/4BcIdBfJGT
D:found the uncompressed xz file
D:persistent connection set up, trying to get 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
(for /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/d0vGXE_knT)
D:TLDownload::get_file: response error: 500 Can't verify SSL peers 
without knowing which Certificate Authorities to trust (for 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512)
D:TLUtils::download_file: persistent connection ok, but download failed: 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/d0vGXE_knT
D:downloading 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
using curl --user-agent texlive/curl --retry 4 --retry-delay 5 --fail 
--location --connect-timeout 30 --silent --output
D:download of 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
succeeded
D:TLUtils::download_file: downloading using curl succeeded
D:persistent connection set up, trying to get 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc 
(for /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/kpzIi6jqXA)
D:TLDownload::get_file: response error: 500 Can't verify SSL peers 
without knowing which Certificate Authorities to trust (for 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc)
D:TLUtils::download_file: persistent connection ok, but download failed: 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/kpzIi6jqXA
D:downloading 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc 
using curl --user-agent texlive/curl --retry 4 --retry-delay 5 --fail 
--location --connect-timeout 30 --silent --output
D:download of 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc 
succeeded
D:TLUtils::download_file: downloading using curl succeeded
D:STATUS OUTPUT
[GNUPG:] NEWSIG
[GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0
[GNUPG:] SIG_ID hmOyafH6T6zU3IfoaMge34SxigM 2021-04-23 1619222116
[GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0
[GNUPG:] GOODSIG 4CE1877E19438C70 TeX Live Distribution <tex-live at tug.org>
[GNUPG:] VALIDSIG D8F2F86057A857E42A88106A4CE1877E19438C70 2021-04-23 
1619222116 0 4 0 1 10 01 C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC
[GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0
[GNUPG:] TRUST_ULTIMATE 0 pgp
[GNUPG:] VERIFICATION_COMPLIANCE_MODE 23D:verification succeeded, output:
gpg: Signatur vom Sa 24 Apr 01:55:16 2021 CEST
gpg:                mittels RSA-Schlüssel 4CE1877E19438C70
gpg: Korrekte Signatur von "TeX Live Distribution <tex-live at tug.org>" 
[ultimativ]

D:cryptographic signature of 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
verified
D:verify_checksum: found remote digest
 
43b781f1bb858009fd8acc8bd42099f927889d39f2d12526bbb8c653118a3b09ffd6f5e166b8f63d8e7fe2ab5ed258bd69b95406563c64d13cb1e136a0f1ca20
from
   /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/d0vGXE_knT
for
   /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/cWNaRVVVrk
and
 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
D:tlchecksum(/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/lbFn6r2tWO/cWNaRVVVrk): 
===43b781f1bb858009fd8acc8bd42099f927889d39f2d12526bbb8c653118a3b09ffd6f5e166b8f63d8e7fe2ab5ed258bd69b95406563c64d13cb1e136a0f1ca20===
D:verify_checksum: local_digest = 
43b781f1bb858009fd8acc8bd42099f927889d39f2d12526bbb8c653118a3b09ffd6f5e166b8f63d8e7fe2ab5ed258bd69b95406563c64d13cb1e136a0f1ca20
D:checksum of local copy identical with remote hash
D:writing out tlpdb to 
/Users/schlcht/Library/texlive/2021/tlpkg/texlive.tlpdb.main.b158bb4cc9bf09200b12dae953530403
tlmgr: package repository 
http://www.ctan.org/tex-archive/systems/texlive/tlnet (verified)
D:Automatic backups activated, keeping 1 backups.
tlmgr: would save backups to 
/Users/schlcht/Library/texlive/2021/tlpkg/backups
D:tlmgr: new pkgs:
D:tlmgr: deleted :
D:tlmgr: forced  :
tlmgr: no updates available


--------------------------
$ tlmgr -v update --list
D:appending to package log file: 
/Users/schlcht/Library/texlive/2021/texmf-var/web2c/tlmgr.log
D:appending to command log file: 
/Users/schlcht/Library/texlive/2021/texmf-var/web2c/tlmgr-commands.log
D:tlmgr:main: ::tldownload_server hash:: 
{enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x7f87054cb2c8)}
D:setup_programs: preferring system versions
D:program curl found in path
D:program wget not usable from path
D:(unix) trying to set up wget, default 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/wget/wget.x86_64-darwinlegacy, 
arg --version
D: Using shipped 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/wget/wget.x86_64-darwinlegacy 
for wget (tested).
D:program lz4 not usable from path
D:(unix) trying to set up lz4, default 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/lz4/lz4.x86_64-darwinlegacy, 
arg --version
D: Using shipped 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/lz4/lz4.x86_64-darwinlegacy 
for lz4 (tested).
D:program gzip found in path
D:program xz not usable from path
D:(unix) trying to set up xz, default 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/xz/xz.x86_64-darwinlegacy, 
arg --version
D: Using shipped 
/Users/schlcht/Library/texlive/2021/tlpkg/installer/xz/xz.x86_64-darwinlegacy 
for xz (tested).
D:Using checksum method digest::sha
D:Testing for gpg in gpg
D: ... gpg ok! [gpg --version >/dev/null 2>&1]
D:gpg command line: gpg --homedir 
"/Users/schlcht/Library/texlive/2021/tlpkg/gpg" --no-secmem-warning 
--no-permission-warning --lock-never
D:will verify cryptographic signatures
cannot contact mirror.ctan.org, returning a backbone server!
D:TLPDB.pm: trying to initialize from 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb
D:trying to download 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
to /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/VJWwBE2YKm
D:persistent connection set up, trying to get 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
(for /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/VJWwBE2YKm)
D:TLDownload::get_file: response error: 500 Can't verify SSL peers 
without knowing which Certificate Authorities to trust (for 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz)
D:TLUtils::download_file: persistent connection ok, but download failed: 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/VJWwBE2YKm
D:downloading 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
using curl --user-agent texlive/curl --retry 4 --retry-delay 5 --fail 
--location --connect-timeout 30 --silent --output
D:download of 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz 
succeeded
D:TLUtils::download_file: downloading using curl succeeded
D:decompressing 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/VJWwBE2YKm 
to /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/0U8nypTkdD
D:TLUtils::system_pipe: calling 
"/Users/schlcht/Library/texlive/2021/tlpkg/installer/xz/xz.x86_64-darwinlegacy" 
-dcf < 
"/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/VJWwBE2YKm" 
 > "/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/0U8nypTkdD"
D:TLUtils::system_pipe: removing 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/VJWwBE2YKm
D:found the uncompressed xz file
D:persistent connection set up, trying to get 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
(for /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/LL946zpoOa)
D:TLDownload::get_file: response error: 500 Can't verify SSL peers 
without knowing which Certificate Authorities to trust (for 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512)
D:TLUtils::download_file: persistent connection ok, but download failed: 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/LL946zpoOa
D:downloading 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
using curl --user-agent texlive/curl --retry 4 --retry-delay 5 --fail 
--location --connect-timeout 30 --silent --output
D:download of 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 
succeeded
D:TLUtils::download_file: downloading using curl succeeded
D:persistent connection set up, trying to get 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc 
(for /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/q2gjlyBdnJ)
D:TLDownload::get_file: response error: 500 Can't verify SSL peers 
without knowing which Certificate Authorities to trust (for 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc)
D:TLUtils::download_file: persistent connection ok, but download failed: 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/q2gjlyBdnJ
D:downloading 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc 
using curl --user-agent texlive/curl --retry 4 --retry-delay 5 --fail 
--location --connect-timeout 30 --silent --output
D:download of 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc 
succeeded
D:TLUtils::download_file: downloading using curl succeeded
D:STATUS OUTPUT
[GNUPG:] NEWSIG
[GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0
[GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0
[GNUPG:] BADSIG 4CE1877E19438C70 TeX Live Distribution <tex-live at tug.org>
[GNUPG:] VERIFICATION_COMPLIANCE_MODE 23D:verify_checksum: returning 2 
and cryptographic signature verification of
   /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/LL946zpoOa
against
 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
failed. Output was:
gpg: Signatur vom Sa 24 Apr 01:55:16 2021 CEST
gpg:                mittels RSA-Schlüssel 4CE1877E19438C70
gpg: FALSCHE Signatur von "TeX Live Distribution <tex-live at tug.org>" 
[ultimativ]

Please try from a different mirror and/or wait a few minutes
and try again; usually this is because of transient updates.
If problems persist, feel free to report to texlive at tug.org.


/Users/schlcht/Library/texlive/2021/bin/x86_64-darwinlegacy/tlmgr: 
signature verification error of 
/var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/0U8nypTkdD 
from 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb: 
cryptographic signature verification of
   /var/folders/8y/hsw7phnd08j1kntdljhd71zc0000gn/T/NSYYQObvGx/LL946zpoOa
against
 
http://www.ctan.org/tex-archive/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
failed. Output was:
gpg: Signatur vom Sa 24 Apr 01:55:16 2021 CEST
gpg:                mittels RSA-Schlüssel 4CE1877E19438C70
gpg: FALSCHE Signatur von "TeX Live Distribution <tex-live at tug.org>" 
[ultimativ]

Please try from a different mirror and/or wait a few minutes
and try again; usually this is because of transient updates.
If problems persist, feel free to report to texlive at tug.org.







On 21.04.21 00:23, Norbert Preining wrote:
> Dear all,
> 
> for those having problems updating from CTAN mirror.ctan.org, please
> change your repository to use
> 	https://
> instead. That should fix the problem.
> 	tlmgr option repository https://mirror.ctan.org/systems/texlive/tlnet
> 
> Best
> 
> Norbert
> 
> --
> PREINING Norbert                              https://www.preining.info
> Fujitsu Research  +  IFMGA Guide  +  TU Wien  +  TeX Live  + Debian Dev
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> 


-- 
  Robert



More information about the tex-live mailing list.