tlmgr deleted texlive-scripts

Pablo González L pablgonz at educarchile.cl
Sat Nov 1 01:48:00 CET 2025


> If you, or anyone, is able to check, it would be useful to know if the
> failure happens on Unix also. Seems like it should.
>
>     Now the plan is to upgrade to the current version and have the download
>     fail to test what happens to the directories and files...so here we go:
>
> How did you make the download fail?

Basically, I disconnected the Wi-Fi :D right when the package was
downloading. On Windows, the line is `netsh wlan disconnect`... The
original problem occurs (more or less) when the connection is unstable
and the package download fails.

> I don't really know what happened, but reading Norbert's previous reply:
>
>     np> If autobackup is done, that backup is used to restore.
>     If autobackup is disabled, a temporary backup is made, and after
>     successful installation discarded.
>
> You manually deleted the backup file, but (I think) did not disable the
> autobackup option. So I wonder if tlmgr looked for the backup that
> should have been there, didn't find, and gave up. I.e., it checks for
> the option being enabled/disabled, not the presence/absence of a backup
> file.

I tested it with and without the backup file (apologies for not
providing more details). I deleted the backup file to try to understand
what was happening; the important line is:

D:texlive-scripts remote revision 76658, texlive-scripts local revision 76648

In other words, `tlmgr` attempts to update from `76648` to `76658`, but
after the experiment, the following is obtained:

27-10-2025  19:57                 0 texlive-scripts.r76648.tar.lz4

Which indicates to me (from my perspective) that there is a problem
with the backup logic when creating one of size 0 (did it do so after
deleting the files?...or how does it fail?

Anyway, here's a reproduction of the problem under Linux (Fedora 43
update). These are my directories before the experiment:

##
[root at rayzen texlive] # ls -l
total 704
-rwxr-xr-x. 1 root root  57380 may  4 13:51 fmtutil.pl
-rwxr-xr-x. 1 root root    929 abr 19  2015 fmtutil-sys.sh
-rwxr-xr-x. 1 root root    926 ago 19  2019 fmtutil-user.sh
-rwxr-xr-x. 1 root root   8225 nov  2  2020 mktexlsr
-rwxr-xr-x. 1 root root  16707 mar 14  2022 mktexlsr.pl
-rwxr-xr-x. 1 root root   4007 dic 29  2019 mktexmf
-rwxr-xr-x. 1 root root   9896 oct 16 11:46 mktexpk
-rwxr-xr-x. 1 root root   5913 ene 30  2020 mktextfm
-rw-r--r--. 1 root root  20068 jun 23 17:59 NEWS
-rwxr-xr-x. 1 root root   1331 sep 11  2022 rungs.lua
-rw-r--r--. 1 root root    134 abr 23  2024 tl-errmess.ps1
-rwxr-xr-x. 1 root root  91330 feb 19  2023 tlmgrgui.pl
-rwxr-xr-x. 1 root root 361470 may 13 17:48 tlmgr.pl
-rwxr-xr-x. 1 root root   2410 abr 23  2024 uninstall-windows.pl
-rw-r--r--. 1 root root    287 abr 23  2024 uninstq.ps1
-rwxr-xr-x. 1 root root  88076 mar 19  2024 updmap.pl
-rwxr-xr-x. 1 root root    925 abr 19  2015 updmap-sys.sh
-rwxr-xr-x. 1 root root    922 ago 19  2019 updmap-user.sh
########################################################################
[root at rayzen backups] # ls -l
total 980
-rw-r--r--. 1 root root 1002668 oct 31 14:56 texlive-scripts.r76685.tar.lz4

########################################################################

To reproduce the problem, I first restored to the previous version (NOT
deleted the backup):

########################################################################
[root at rayzen backups] # tlmgr restore texlive-scripts 76685
Do you really want to restore texlive-scripts to revision 76685 (y/N): y
Restoring texlive-scripts, 76685 from
/usr/local/texlive/2025/tlpkg/backups/texlive-scripts.r76685.tar.xz
running mktexlsr ...
done running mktexlsr.
running updmap-sys ...
done running updmap-sys.
tlmgr: package log updated: /usr/local/texlive/2025/texmf-var/web2c/tlmgr.log
tlmgr: command log updated:
/usr/local/texlive/2025/texmf-var/web2c/tlmgr-commands.log
########################################################################

The plan now is to update to the current version and let the download
fail, using `nmcli radio wifi off`, and see what happens with the
directories and files. Let's test it:

########################################################################
[root at rayzen backups] # tlmgr update --self --all -v
D:tlmgr version 75204 (2025-05-13 23:48:24 +0200)
D:maintree=/usr/local/texlive/2025
D:appending to package log file:
/usr/local/texlive/2025/texmf-var/web2c/tlmgr.log
D:appending to command log file:
/usr/local/texlive/2025/texmf-var/web2c/tlmgr-commands.log
D:Setting env var HTTPS_CA_FILE to
/usr/local/texlive/2025/tlpkg/installer/curl/curl-ca-bundle.crt
D:tlmgr:main: ::tldownload_server hash::
{enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x559c76ed4098)}
D:setup_programs: preferring system versions
D:program df found in path
D:program curl found in path
D:program wget found in path
D:TLUtils::setup_programs: checking for ssl enabled wget
D:TLUtils::setup_programs: wget has ssl, final wget args:
--no-check-certificate --user-agent=texlive/wget --tries=4
--timeout=30 -q -O
D:program lz4 not usable from path
D:(unix) trying to set up lz4, default
/usr/local/texlive/2025/tlpkg/installer/lz4/lz4.x86_64-linux, arg
--version
D: Using shipped
/usr/local/texlive/2025/tlpkg/installer/lz4/lz4.x86_64-linux for lz4
(tested).
D:program gzip found in path
D:program xz found in path
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 "/usr/local/texlive/2025/tlpkg/gpg"
--no-secmem-warning --no-permission-warning --lock-never
D:will verify cryptographic signatures
D:persistent connection set up, trying to get
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
(for /tmp/2ug5tkK9AV/VCvaYBLZ2q)
D:TLDownload::get_file: response error: 501 Protocol scheme 'https' is
not supported (LWP::Protocol::https not installed) (for
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512)
D:TLUtils::download_file: persistent connection ok, but download
failed: https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
/tmp/2ug5tkK9AV/VCvaYBLZ2q
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
using curl --user-agent texlive/curl --retry 4 --retry-delay 4
--connect-timeout 30 --fail --location --silent --output
D:download of https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
succeeded
D:TLUtils::download_file: downloading using curl succeeded
D:persistent connection set up, trying to get
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
(for /tmp/2ug5tkK9AV/C6avTt3HGN)
D:TLDownload::get_file: response error: 501 Protocol scheme 'https' is
not supported (LWP::Protocol::https not installed) (for
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc)
D:TLUtils::download_file: persistent connection ok, but download
failed: https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
/tmp/2ug5tkK9AV/C6avTt3HGN
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
using curl --user-agent texlive/curl --retry 4 --retry-delay 4
--connect-timeout 30 --fail --location --silent --output
D:download of https://ctan.dcc.uchile.cl/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 O8Us3a7gUCNDDPF3F82p0g44Nc0 2025-10-31 1761871676
[GNUPG:] GOODSIG 4CE1877E19438C70 TeX Live Distribution <tex-live at tug.org>
[GNUPG:] VALIDSIG D8F2F86057A857E42A88106A4CE1877E19438C70 2025-10-31
1761871676 0 4 0 1 10 01 C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC
[GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0
[GNUPG:] TRUST_ULTIMATE 0 pgpD:verification succeeded, output:
gpg: Firmado el jue 30 oct 2025 21:47:56 -03
gpg:                usando RSA clave D8F2F86057A857E42A88106A4CE1877E19438C70
gpg: Firma correcta de "TeX Live Distribution <tex-live at tug.org>" [absoluta]

D:cryptographic signature of
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
verified
D:verify_checksum: found remote digest
  f4bbc43b6f6ff99ae14cca1125cb79f4e49c26ae627b3ae181bfe39eb11b513fc58334779b3aaac8e8c87fd383c8074f2af80961266ff69952d144899c14e295
from
  /tmp/2ug5tkK9AV/VCvaYBLZ2q
for
  /usr/local/texlive/2025/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34
and
  https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
D:tlchecksum(/usr/local/texlive/2025/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34):
===f4bbc43b6f6ff99ae14cca1125cb79f4e49c26ae627b3ae181bfe39eb11b513fc58334779b3aaac8e8c87fd383c8074f2af80961266ff69952d144899c14e295===
D:verify_checksum: local_digest =
f4bbc43b6f6ff99ae14cca1125cb79f4e49c26ae627b3ae181bfe39eb11b513fc58334779b3aaac8e8c87fd383c8074f2af80961266ff69952d144899c14e295
D:checksum of local copy identical with remote hash
D:texlive-scripts remote revision 76705, texlive-scripts local revision 76685
tlmgr: package repository
https://ctan.dcc.uchile.cl/systems/texlive/tlnet (verified)
D:Automatic backups activated, keeping 1 backups.
tlmgr: saving backups to /usr/local/texlive/2025/tlpkg/backups
tlmgr: no self-updates for tlmgr available
D:tlmgr: new pkgs:
D:tlmgr: deleted :
D:tlmgr: forced  :
D:texlive-scripts upd package
D:selected compressor:
/usr/local/texlive/2025/tlpkg/installer/lz4/lz4.x86_64-linux with
-zfmq, on /usr/local/texlive/2025/tlpkg/backups/texlive-scripts.r76685.tar
D:tlchecksum(/usr/local/texlive/2025/tlpkg/backups/texlive-scripts.r76685.tar.lz4):
===1d8b0b259902728f3a7a26931a559b3e02f375546196a17bb9919b7f712d72e1901b5b5751e0fc90a0a3c7eaad62f86d8a1fb71cc536a56ac77f1de25ec7764f===
D: done texlive-scripts.r76685.tar.lz4, size 1002663, csum
1d8b0b259902728f3a7a26931a559b3e02f375546196a17bb9919b7f712d72e1901b5b5751e0fc90a0a3c7eaad62f86d8a1fb71cc536a56ac77f1de25ec7764f
D:announce_execute_actions: given disable (for texlive-scripts)
D: TLPDB::remove_package: running remove postinstall
D:running postaction=remove for texlive-scripts
D:TLPDB::_install_data:
what=https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz,
target=/usr/local/texlive/2025, size=115032,
checksum=ab28c4796c6ccaa5c62b7290a520188d93f323e83fdb4fef47880f428f0a8495009ffd68bd174e3260c2469bc2014f84de805c0e71a2eb79166e3479c9706046,
tmpdir=/tmp/2ug5tkK9AV/5R7i_qsr4p
D:persistent connection set up, trying to get
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
(for /tmp/2ug5tkK9AV/5R7i_qsr4p/texlive-scripts.tar.xz)
D:TLDownload::get_file: response error: 501 Protocol scheme 'https' is
not supported (LWP::Protocol::https not installed) (for
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz)
D:TLUtils::download_file: persistent connection ok, but download
failed: https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
/tmp/2ug5tkK9AV/5R7i_qsr4p/texlive-scripts.tar.xz
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
using curl --user-agent texlive/curl --retry 4 --retry-delay 4
--connect-timeout 30 --fail --location --silent --output
[1/1, ??:??/??:??] update: texlive-scripts [557k] (76685 -> 76705) ...
D:TLUtils::_download_file_program: wget
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
/tmp/2ug5tkK9AV/5R7i_qsr4p/texlive-scripts.tar.xz
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
using wget --no-check-certificate --user-agent=texlive/wget --tries=4
--timeout=30 -q -O
D:TLUtils::download_file: tried to download using lwp curl wget, none succeeded
TLPDB::_install_data: downloading did not succeed (download_file
failed) for https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
tlmgr: Installation of new version of texlive-scripts failed, trying to unwind.
D:TeXLive::TLUtils::check_file_and_remove
/tmp/2ug5tkK9AV/JM6SSq8na5/texlive-scripts.r76685.tar.lz4, -1, 0
D:TLUtils::system_pipe: calling
"/usr/local/texlive/2025/tlpkg/installer/lz4/lz4.x86_64-linux" -dcf <
"/tmp/2ug5tkK9AV/JM6SSq8na5/texlive-scripts.r76685.tar.lz4" >
"/tmp/2ug5tkK9AV/JM6SSq8na5/texlive-scripts.r76685.tar"
D:TLUtils::system_pipe: removing
/tmp/2ug5tkK9AV/JM6SSq8na5/texlive-scripts.r76685.tar.lz4
D:TLUtils::untar: unpacking
/tmp/2ug5tkK9AV/JM6SSq8na5/texlive-scripts.r76685.tar in
/usr/local/texlive/2025
tlmgr: Restoring old package state succeeded.
done
tlmgr: action update returned an error; continuing.
D:starting handle_execute_actions
running mktexlsr ...
done running mktexlsr.
running updmap-sys ...
done running updmap-sys.
D:finished handle_execute_actions, errors=0
tlmgr: package log updated: /usr/local/texlive/2025/texmf-var/web2c/tlmgr.log
tlmgr: command log updated:
/usr/local/texlive/2025/texmf-var/web2c/tlmgr-commands.log
tlmgr: An error has occurred. See above messages. Exiting.

########################################################################

And now we look at the directories again:

########################################################################
[root at rayzen backups] # ls -lh
total 980K
-rw-r--r--. 1 root root 980K oct 31 21:29 texlive-scripts.r76685.tar.lz4

[root at rayzen texlive] # ls -lh
total 704K
-rwxr-xr-x. 1 root root  57K may  4 13:51 fmtutil.pl
-rwxr-xr-x. 1 root root  929 abr 19  2015 fmtutil-sys.sh
-rwxr-xr-x. 1 root root  926 ago 19  2019 fmtutil-user.sh
-rwxr-xr-x. 1 root root 8,1K nov  2  2020 mktexlsr
-rwxr-xr-x. 1 root root  17K mar 14  2022 mktexlsr.pl
-rwxr-xr-x. 1 root root 4,0K dic 29  2019 mktexmf
-rwxr-xr-x. 1 root root 9,7K oct 16 11:46 mktexpk
-rwxr-xr-x. 1 root root 5,8K ene 30  2020 mktextfm
-rw-r--r--. 1 root root  20K jun 23 17:59 NEWS
-rwxr-xr-x. 1 root root 1,3K sep 11  2022 rungs.lua
-rw-r--r--. 1 root root  134 abr 23  2024 tl-errmess.ps1
-rwxr-xr-x. 1 root root  90K feb 19  2023 tlmgrgui.pl
-rwxr-xr-x. 1 root root 353K may 13 17:48 tlmgr.pl
-rwxr-xr-x. 1 root root 2,4K abr 23  2024 uninstall-windows.pl
-rw-r--r--. 1 root root  287 abr 23  2024 uninstq.ps1
-rwxr-xr-x. 1 root root  87K mar 19  2024 updmap.pl
-rwxr-xr-x. 1 root root  925 abr 19  2015 updmap-sys.sh
-rwxr-xr-x. 1 root root  922 ago 19  2019 updmap-user.sh

########################################################################

Now we repeat, deleting the backup file:

########################################################################
[root at rayzen backups] # ls -lh
total 0
[root at rayzen backups] # tlmgr update --self --all -v
D:tlmgr version 75204 (2025-05-13 23:48:24 +0200)
D:maintree=/usr/local/texlive/2025
D:appending to package log file:
/usr/local/texlive/2025/texmf-var/web2c/tlmgr.log
D:appending to command log file:
/usr/local/texlive/2025/texmf-var/web2c/tlmgr-commands.log
D:Setting env var HTTPS_CA_FILE to
/usr/local/texlive/2025/tlpkg/installer/curl/curl-ca-bundle.crt
D:tlmgr:main: ::tldownload_server hash::
{enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x55a35c308478)}
D:setup_programs: preferring system versions
D:program df found in path
D:program curl found in path
D:program wget found in path
D:TLUtils::setup_programs: checking for ssl enabled wget
D:TLUtils::setup_programs: wget has ssl, final wget args:
--no-check-certificate --user-agent=texlive/wget --tries=4
--timeout=30 -q -O
D:program lz4 not usable from path
D:(unix) trying to set up lz4, default
/usr/local/texlive/2025/tlpkg/installer/lz4/lz4.x86_64-linux, arg
--version
D: Using shipped
/usr/local/texlive/2025/tlpkg/installer/lz4/lz4.x86_64-linux for lz4
(tested).
D:program gzip found in path
D:program xz found in path
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 "/usr/local/texlive/2025/tlpkg/gpg"
--no-secmem-warning --no-permission-warning --lock-never
D:will verify cryptographic signatures
D:persistent connection set up, trying to get
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
(for /tmp/qgKwFWG7Wz/8zaiJIJ8XJ)
D:TLDownload::get_file: response error: 501 Protocol scheme 'https' is
not supported (LWP::Protocol::https not installed) (for
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512)
D:TLUtils::download_file: persistent connection ok, but download
failed: https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
/tmp/qgKwFWG7Wz/8zaiJIJ8XJ
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
using curl --user-agent texlive/curl --retry 4 --retry-delay 4
--connect-timeout 30 --fail --location --silent --output
D:download of https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
succeeded
D:TLUtils::download_file: downloading using curl succeeded
D:persistent connection set up, trying to get
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
(for /tmp/qgKwFWG7Wz/A2jxeT7nvd)
D:TLDownload::get_file: response error: 501 Protocol scheme 'https' is
not supported (LWP::Protocol::https not installed) (for
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc)
D:TLUtils::download_file: persistent connection ok, but download
failed: https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
/tmp/qgKwFWG7Wz/A2jxeT7nvd
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
using curl --user-agent texlive/curl --retry 4 --retry-delay 4
--connect-timeout 30 --fail --location --silent --output
D:download of https://ctan.dcc.uchile.cl/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 O8Us3a7gUCNDDPF3F82p0g44Nc0 2025-10-31 1761871676
[GNUPG:] GOODSIG 4CE1877E19438C70 TeX Live Distribution <tex-live at tug.org>
[GNUPG:] VALIDSIG D8F2F86057A857E42A88106A4CE1877E19438C70 2025-10-31
1761871676 0 4 0 1 10 01 C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC
[GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0
[GNUPG:] TRUST_ULTIMATE 0 pgpD:verification succeeded, output:
gpg: Firmado el jue 30 oct 2025 21:47:56 -03
gpg:                usando RSA clave D8F2F86057A857E42A88106A4CE1877E19438C70
gpg: Firma correcta de "TeX Live Distribution <tex-live at tug.org>" [absoluta]

D:cryptographic signature of
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
verified
D:verify_checksum: found remote digest
  f4bbc43b6f6ff99ae14cca1125cb79f4e49c26ae627b3ae181bfe39eb11b513fc58334779b3aaac8e8c87fd383c8074f2af80961266ff69952d144899c14e295
from
  /tmp/qgKwFWG7Wz/8zaiJIJ8XJ
for
  /usr/local/texlive/2025/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34
and
  https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
D:tlchecksum(/usr/local/texlive/2025/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34):
===f4bbc43b6f6ff99ae14cca1125cb79f4e49c26ae627b3ae181bfe39eb11b513fc58334779b3aaac8e8c87fd383c8074f2af80961266ff69952d144899c14e295===
D:verify_checksum: local_digest =
f4bbc43b6f6ff99ae14cca1125cb79f4e49c26ae627b3ae181bfe39eb11b513fc58334779b3aaac8e8c87fd383c8074f2af80961266ff69952d144899c14e295
D:checksum of local copy identical with remote hash
D:texlive-scripts remote revision 76705, texlive-scripts local revision 76685
tlmgr: package repository
https://ctan.dcc.uchile.cl/systems/texlive/tlnet (verified)
D:Automatic backups activated, keeping 1 backups.
tlmgr: saving backups to /usr/local/texlive/2025/tlpkg/backups
tlmgr: no self-updates for tlmgr available
D:tlmgr: new pkgs:
D:tlmgr: deleted :
D:tlmgr: forced  :
D:texlive-scripts upd package
D:selected compressor:
/usr/local/texlive/2025/tlpkg/installer/lz4/lz4.x86_64-linux with
-zfmq, on /usr/local/texlive/2025/tlpkg/backups/texlive-scripts.r76685.tar
D:tlchecksum(/usr/local/texlive/2025/tlpkg/backups/texlive-scripts.r76685.tar.lz4):
===9c585e4098fe6b16b18bf8ed2ad4afc1d7cd23ed03ec33aaeff5e115e9f3b900b7d5cff9f652df7f1e17eed8add35b4ed4aab42e0c86f36bf5fff18fbbcd1f2a===
D: done texlive-scripts.r76685.tar.lz4, size 1002665, csum
9c585e4098fe6b16b18bf8ed2ad4afc1d7cd23ed03ec33aaeff5e115e9f3b900b7d5cff9f652df7f1e17eed8add35b4ed4aab42e0c86f36bf5fff18fbbcd1f2a
D:announce_execute_actions: given disable (for texlive-scripts)
D: TLPDB::remove_package: running remove postinstall
D:running postaction=remove for texlive-scripts
D:TLPDB::_install_data:
what=https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz,
target=/usr/local/texlive/2025, size=115032,
checksum=ab28c4796c6ccaa5c62b7290a520188d93f323e83fdb4fef47880f428f0a8495009ffd68bd174e3260c2469bc2014f84de805c0e71a2eb79166e3479c9706046,
tmpdir=/tmp/qgKwFWG7Wz/SaodHC5ixW
D:persistent connection set up, trying to get
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
(for /tmp/qgKwFWG7Wz/SaodHC5ixW/texlive-scripts.tar.xz)
D:TLDownload::get_file: response error: 501 Protocol scheme 'https' is
not supported (LWP::Protocol::https not installed) (for
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz)
D:TLUtils::download_file: persistent connection ok, but download
failed: https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
D:TLUtils::download_file: retrying with other downloaders.
D:TLUtils::_download_file_program: curl
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
/tmp/qgKwFWG7Wz/SaodHC5ixW/texlive-scripts.tar.xz
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
using curl --user-agent texlive/curl --retry 4 --retry-delay 4
--connect-timeout 30 --fail --location --silent --output
[1/1, ??:??/??:??] update: texlive-scripts [557k] (76685 -> 76705) ...
D:TLUtils::_download_file_program: wget
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
/tmp/qgKwFWG7Wz/SaodHC5ixW/texlive-scripts.tar.xz
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
using wget --no-check-certificate --user-agent=texlive/wget --tries=4
--timeout=30 -q -O
D:TLUtils::download_file: tried to download using lwp curl wget, none succeeded
TLPDB::_install_data: downloading did not succeed (download_file
failed) for https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz
tlmgr: Installation of new version of texlive-scripts failed, trying to unwind.
D:TeXLive::TLUtils::check_file_and_remove
/tmp/qgKwFWG7Wz/zNr7Ry2Iei/texlive-scripts.r76685.tar.lz4, -1, 0
D:TLUtils::system_pipe: calling
"/usr/local/texlive/2025/tlpkg/installer/lz4/lz4.x86_64-linux" -dcf <
"/tmp/qgKwFWG7Wz/zNr7Ry2Iei/texlive-scripts.r76685.tar.lz4" >
"/tmp/qgKwFWG7Wz/zNr7Ry2Iei/texlive-scripts.r76685.tar"
D:TLUtils::system_pipe: removing
/tmp/qgKwFWG7Wz/zNr7Ry2Iei/texlive-scripts.r76685.tar.lz4
D:TLUtils::untar: unpacking
/tmp/qgKwFWG7Wz/zNr7Ry2Iei/texlive-scripts.r76685.tar in
/usr/local/texlive/2025
tlmgr: Restoring old package state succeeded.
done
tlmgr: action update returned an error; continuing.
D:starting handle_execute_actions
running mktexlsr ...
done running mktexlsr.
running updmap-sys ...
done running updmap-sys.
D:finished handle_execute_actions, errors=0
tlmgr: package log updated: /usr/local/texlive/2025/texmf-var/web2c/tlmgr.log
tlmgr: command log updated:
/usr/local/texlive/2025/texmf-var/web2c/tlmgr-commands.log
tlmgr: An error has occurred. See above messages. Exiting.
[root at rayzen backups] # ls -lh
total 980K
-rw-r--r--. 1 root root 980K oct 31 21:41 texlive-scripts.r76685.tar.lz4
########################################################################

And we review the directories again:

########################################################################
[root at rayzen backups] # pwd
/usr/local/texlive/2025/tlpkg/backups
[root at rayzen backups] # ls -lh
total 980K
-rw-r--r--. 1 root root 980K oct 31 21:41 texlive-scripts.r76685.tar.lz4
########################################################################
[root at rayzen texlive] # pwd
/usr/local/texlive/2025/texmf-dist/scripts/texlive
[root at rayzen texlive] # ls -lh
total 704K
-rwxr-xr-x. 1 root root  57K may  4 13:51 fmtutil.pl
-rwxr-xr-x. 1 root root  929 abr 19  2015 fmtutil-sys.sh
-rwxr-xr-x. 1 root root  926 ago 19  2019 fmtutil-user.sh
-rwxr-xr-x. 1 root root 8,1K nov  2  2020 mktexlsr
-rwxr-xr-x. 1 root root  17K mar 14  2022 mktexlsr.pl
-rwxr-xr-x. 1 root root 4,0K dic 29  2019 mktexmf
-rwxr-xr-x. 1 root root 9,7K oct 16 11:46 mktexpk
-rwxr-xr-x. 1 root root 5,8K ene 30  2020 mktextfm
-rw-r--r--. 1 root root  20K jun 23 17:59 NEWS
-rwxr-xr-x. 1 root root 1,3K sep 11  2022 rungs.lua
-rw-r--r--. 1 root root  134 abr 23  2024 tl-errmess.ps1
-rwxr-xr-x. 1 root root  90K feb 19  2023 tlmgrgui.pl
-rwxr-xr-x. 1 root root 353K may 13 17:48 tlmgr.pl
-rwxr-xr-x. 1 root root 2,4K abr 23  2024 uninstall-windows.pl
-rw-r--r--. 1 root root  287 abr 23  2024 uninstq.ps1
-rwxr-xr-x. 1 root root  87K mar 19  2024 updmap.pl
-rwxr-xr-x. 1 root root  925 abr 19  2015 updmap-sys.sh
-rwxr-xr-x. 1 root root  922 ago 19  2019 updmap-user.sh
########################################################################

At first glance, the same thing doesn't happen if it's on Linux... I'm
not an expert, but I think the problem is only on Windows.

Saludos


More information about the tex-live mailing list.