Re: tlmgr deleted texlive-scripts
Norbert Preining <[email protected]>
| Newsgroups | gmane.comp.tex.live |
|---|---|
| Message-ID | <[email protected]> |
Thanks, yes I got a hint I will follow: > tlmgr.pl: Error message from unpack: don't know how to unpack That is surprising ... Do you know how to use "patch"? If yes, later on I will send a patch for testing and debugging. Thanks for all your testing, greatly appreciated -- DI Dr Norbert Preining https://www.preining.info arXiv / Cornell University + IFMGA Guide + TU Wien + TeX Live GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 Nov 3, 2025 22:39:53 Pablo González L <[email protected]>: > Reproduce the problem with `tlmgr option autobackup 0`. I first restored > to the previous version and then deleted the copy and disable backup. > > ######################################################################## > C:\texlive\2025\tlpkg\backups>tlmgr restore texlive-scripts 76705 > Do you really want to restore texlive-scripts to revision 76705 (y/N): y > Restoring texlive-scripts, 76705 from > C:/texlive/2025/tlpkg/backups/texlive-scripts.r76705.tar.xz > running mktexlsr ... > done running mktexlsr. > running updmap-sys ... > done running updmap-sys. > tlmgr.pl: package log updated: C:/texlive/2025/texmf-var/web2c/tlmgr.log > tlmgr.pl: command log updated: > C:/texlive/2025/texmf-var/web2c/tlmgr-commands.log > > > C:\texlive\2025\tlpkg\backups>dir > El volumen de la unidad C es driveC > El número de serie del volumen es: DA38-3A48 > > Directorio de C:\texlive\2025\tlpkg\backups > > 03-11-2025 18:23 <DIR> . > 03-11-2025 18:18 <DIR> .. > 0 archivos 0 bytes > 2 dirs 77.071.872.000 bytes libres > > C:\texlive\2025\tlpkg\backups>tlmgr option autobackup 0 > tlmgr.pl: setting option autobackup to 0. > tlmgr.pl: updating C:/texlive/2025/tlpkg/texlive.tlpdb > > Now the plan is to upgrade `texlive-scripts` and have the download > _fail_ to test what happens to the directories and files: > > ######################################################################## > C:\texlive\2025\tlpkg\backups>tlmgr update --self --all -v > D:tlmgr version 75204 (2025-05-13 23:48:24 +0200) > D:maintree=C:/texlive/2025 > D:appending to package log file: C:/texlive/2025/texmf-var/web2c/tlmgr.log > D:appending to command log file: > C:/texlive/2025/texmf-var/web2c/tlmgr-commands.log > D:Setting env var HTTPS_CA_FILE to > C:/texlive/2025/tlpkg/installer/curl/curl-ca-bundle.crt > D:tlmgr.pl:main: ::tldownload_server hash:: > {enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x22a48c3bbe8)} > D:setup_programs: preferring system versions > D:(w32) trying to set up tar, default > C:/texlive/2025/tlpkg/installer/tar.exe, arg --version > D:Using shipped C:/texlive/2025/tlpkg/installer/tar.exe for tar (tested). > D:program curl found in path > D:program wget not usable from path > D:(w32) trying to set up wget, default > C:/texlive/2025/tlpkg/installer/wget/wget.exe, arg --version > D:Using shipped C:/texlive/2025/tlpkg/installer/wget/wget.exe for wget (tested). > 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:(w32) trying to set up lz4, default > C:/texlive/2025/tlpkg/installer/lz4/lz4.exe, arg --version > D:Using shipped C:/texlive/2025/tlpkg/installer/lz4/lz4.exe for lz4 (tested). > D:program gzip found in path > D:program xz not usable from path > D:(w32) trying to set up xz, default > C:/texlive/2025/tlpkg/installer/xz/xz.exe, arg --version > D:Using shipped C:/texlive/2025/tlpkg/installer/xz/xz.exe for xz (tested). > D:Using checksum method digest::sha > D:Testing for gpg in gpg > D:Testing for gpg in gpg2 > D:Testing for gpg in C:/texlive/2025/tlpkg/installer/gpg/gpg.exe > D:tlmgr.pl: No gpg found, verification implicitly requested, > continuing without verification > D:persistent connection set up, trying to get > https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 > (for C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\QG0SNgYz5O) > 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 > C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\QG0SNgYz5O > 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:gpg prog not defined, no checking of signatures > D:verify_checksum: returning -3 and no gpg available > D:C:\texlive\2025\texmf-dist\scripts\texlive\tlmgr.pl: TLPDB: no gpg > available, continuing anyway! > D:TLPDB.pm: trying to initialize from > https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb > D:trying to download > https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz > to C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\o1VJOra7LL > D:persistent connection set up, trying to get > https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz > (for C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\o1VJOra7LL) > 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.xz) > D:TLUtils::download_file: persistent connection ok, but download > failed: https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz > 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.xz > C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\o1VJOra7LL > D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz > 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.xz > succeeded > D:TLUtils::download_file: downloading using curl succeeded > D:decompressing > C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\o1VJOra7LL to > C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\MMEiGlmCpx > D:TLUtils::system_pipe: calling > C:\texlive\2025\tlpkg\installer\xz\xz.exe -dcf < > "C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\o1VJOra7LL" > > "C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\MMEiGlmCpx" > D:TLUtils::system_pipe: removing > C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\o1VJOra7LL > D:found the uncompressed xz file > D:persistent connection set up, trying to get > https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 > (for C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\4l9M1qEjxC) > 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 > C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\4l9M1qEjxC > 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:gpg prog not defined, no checking of signatures > D:verify_checksum: returning -3 and no gpg available > D:C:\texlive\2025\texmf-dist\scripts\texlive\tlmgr.pl: TLPDB: no gpg > available, continuing anyway! > D:texlive-scripts remote revision 76736, texlive-scripts local revision 76705 > D:tlmgr:setup_one_remote_tlpdb: writing out remote tlpdb to > C:/texlive/2025/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34 > tlmgr.pl: package repository > https://ctan.dcc.uchile.cl/systems/texlive/tlnet (not verified: gpg > unavailable) > tlmgr.pl: no self-updates for tlmgr available > D:tlmgr.pl: new pkgs: > D:tlmgr.pl: deleted : > D:tlmgr.pl: forced : > D:texlive-scripts upd package > [1/1, ??:??/??:??] update: texlive-scripts [557k] (76705 -> 76736) ... > D:tlchecksum(C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\UI5nrdpEom/__BACKUP_texlive-scripts.r76705.tar): > ===d06167395bf69dde1138593cfd9720405678af7f4115f9548dacc52c41214614958e6dc8ed02d2de00aafbba94c07f47f46f3225893f56c8baa4a4d7e6f3789b=== > D: done __BACKUP_texlive-scripts.r76705.tar, size 3000320, csum > d06167395bf69dde1138593cfd9720405678af7f4115f9548dacc52c41214614958e6dc8ed02d2de00aafbba94c07f47f46f3225893f56c8baa4a4d7e6f3789b > 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=C:/texlive/2025, size=115040, > checksum=eccec385e7274c2226a65d02d80ff2c4fb50c73ac9c59ca6c184d868181df080063890a1d60aceef27072f99f785a51feeeb1eca773010236e54a5a46f274ae9, > tmpdir=C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\Yy1i91Ahh8 > D:persistent connection set up, trying to get > https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz > (for C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\Yy1i91Ahh8/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 > C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\Yy1i91Ahh8\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 > D:TLUtils::_download_file_program: wget > https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz > C:\Users\pablg\AppData\Local\Temp\PERfqEcfkq\Yy1i91Ahh8\texlive-scripts.tar.xz > D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/archive/texlive-scripts.tar.xz > using C:\texlive\2025\tlpkg\installer\wget\wget.exe > --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.pl: Installation of new version of texlive-scripts failed, > trying to unwind. > tlmgr.pl: Restoring of old package did NOT succeed. > tlmgr.pl: Error message from unpack: don't know how to unpack > tlmgr.pl: Most likely repair: run tlmgr install texlive-scripts and hope. > done > tlmgr.pl: action update returned an error; continuing. > D:starting handle_execute_actions > running mktexlsr ... > done running mktexlsr. > running updmap-sys ... > > tlmgr.pl: updmap-sys failed (status 1), output: > C:\texlive\2025\bin\windows\runscript.tlu:953: > C:\texlive\2025\bin\windows\runscript.tlu:876: no appropriate script > or program found: updmap > D:finished handle_execute_actions, errors=2 > tlmgr.pl: package log updated: C:/texlive/2025/texmf-var/web2c/tlmgr.log > tlmgr.pl: command log updated: > C:/texlive/2025/texmf-var/web2c/tlmgr-commands.log > tlmgr.pl: An error has occurred. See above messages. Exiting. > ######################################################################## > > Now see dirs: > > ######################################################################## > C:\texlive\2025\tlpkg\backups>dir > El volumen de la unidad C es driveC > El número de serie del volumen es: DA38-3A48 > > Directorio de C:\texlive\2025\tlpkg\backups > > 03-11-2025 18:23 <DIR> . > 03-11-2025 18:31 <DIR> .. > 0 archivos 0 bytes > 2 dirs 77.030.993.920 bytes libres > > C:\texlive\2025\texmf-dist\scripts\texlive>dir > El volumen de la unidad C es driveC > El número de serie del volumen es: DA38-3A48 > > Directorio de C:\texlive\2025\texmf-dist\scripts\texlive > > 03-11-2025 18:31 <DIR> . > 14-10-2025 22:14 <DIR> .. > 14-10-2025 21:41 8.225 mktexlsr > 14-10-2025 21:41 20.068 NEWS > 14-10-2025 21:41 134 tl-errmess.ps1 > 14-10-2025 21:41 361.470 tlmgr.pl > 14-10-2025 21:41 91.330 tlmgrgui.pl > 14-10-2025 21:41 2.410 uninstall-windows.pl > 14-10-2025 21:41 287 uninstq.ps1 > 7 archivos 483.924 bytes > 2 dirs 77.021.016.064 bytes libres > ######################################################################## > > I hope this helps.