TL2024 from .iso fail under cygwin (win11 pro)

Pablo González L pablgonz at educarchile.cl
Fri Apr 26 02:44:25 CEST 2024


El jue, 25 abr 2024 a las 19:54, David Carlisle
(<d.p.carlisle at gmail.com>) escribió:
>
>
>
> On Thu, 25 Apr 2024 at 23:36, Karl Berry <karl at freefriends.org> wrote:
>>
>>     I also got the same problem when I tried to use the Unix installer
>>     under cygwin.
>>
>> Can you please run install-tl -v in the failing case and show us the
>> output? The installer will use any of Perl LWP, wget, or curl (in that
>> order), but I guess it doesn't notice when there's nothing available.
>> --thanks, karl.
>
>
> I suspect the problem is that the windows curl is in the path so it will "find"
> /cygdrive/c/Windows/system32/curl
> but that curl won't understand any cygwin paths and things will go wrong.
> installing wget (or curl) in cygwin would put a cygwin binary ahead of that in the path....

Here my test Win11/TL24 cygwin ...David I think you are right (again :).

WDAGUtilityAccount at b99280da-58e9-4885-a781-b5ddcf3367ad
/cygdrive/c/Users/WDAGUtilityAccount/Downloads/install-tl-unx/install-tl-20240425
$  cygcheck -c
Cygwin Package Information
Package                 Version                         Status
_autorebase             001091-1                     OK
alternatives            1.26-1                       OK
base-cygwin             3.8-2                        OK
base-files              4.3-3                        OK
bash                    5.2.21-1                     OK
bzip2                   1.0.8-1                      OK
ca-certificates         2023.2.62_v7.0.401-2         OK
coreutils               9.0-1                        OK
crypto-policies         20190218-1                   OK
cygutils                1.4.17-1                     OK
cygwin                  3.5.3-1                      OK
dash                    0.5.12-5                     OK
dejavu-fonts            2.37-1                       OK
diffutils               3.10-1                       OK
editrights              1.04-1                       OK
file                    5.44-1                       OK
findutils               4.9.0-1                      OK
gawk                    5.3.0-1                      OK
getent                  2.18.90-5                    OK
ghostscript             10.01.2-1                    OK
ghostscript-fonts-other 6.0-1                        OK
grep                    3.11-1                       OK
groff                   1.23.0-1                     OK
gzip                    1.13-1                       OK
hostname                3.13-1                       OK
info                    7.1-1                        OK
ipc-utils               1.1-1                        OK
less                    643-1                        OK
libargp                 20230708-2                   OK
libattr1                2.5.1-1.20.g0981a7bfe487     OK
libblkid1               2.39.3-2                     OK
libbrotlicommon1        1.1.0-1                      OK
libbrotlidec1           1.1.0-1                      OK
libbz2_1                1.0.8-1                      OK
libcrypt2               4.4.20-1                     OK
libdb5.3                5.3.28-2                     OK
libdeflate0             1.20-1                       OK
libexpat1               2.6.2-1                      OK
libfdisk1               2.39.3-2                     OK
libffi6                 3.2.1-2                      OK
libfontconfig-common    2.15.0-3                     OK
libfontconfig1          2.15.0-3                     OK
libfreetype6            2.13.2-1                     OK
libgcc1                 11.4.0-1                     OK
libgdbm6                1.18.1-1                     OK
libgdbm_compat4         1.18.1-1                     OK
libgmp10                6.3.0-1                      OK
libgs10                 10.01.2-1                    OK
libICE6                 1.1.1-1                      OK
libiconv2               1.17-1                       OK
libidn12                1.42-1                       OK
libintl8                0.22.4-1                     OK
libjbig2                2.1-2                        OK
libjpeg8                3.0.2-1                      OK
liblcms2_2              2.16-1                       OK
liblz4_1                1.9.4-1                      OK
liblzma5                5.4.6-1                      OK
libmpfr6                4.2.1-1                      OK
libncursesw10           6.4-20240120                 OK
libp11-kit0             0.23.20-1                    OK
libpaper-common         1.1.29-1                     OK
libpaper1               1.1.29-1                     OK
libpcre1                8.45-1                       OK
libpcre2_8_0            10.43-1                      OK
libpipeline1            1.5.6-1                      OK
libpng16                1.6.42-1                     OK
libpopt-common          1.19-1                       OK
libpopt0                1.19-1                       OK
libreadline7            8.2-2                        OK
libSM6                  1.2.4-1                      OK
libsmartcols1           2.39.3-2                     OK
libssl1.1               1.1.1w-1                     OK
libssl3                 3.0.13-1                     OK
libstdc++6              11.4.0-1                     OK
libtasn1_6              4.14-1                       OK
libtiff7                4.6.0-1                      OK
libuchardet0            0.0.8-1                      OK
libuuid1                2.39.3-2                     OK
libwebp7                1.4.0-1                      OK
libX11_6                1.8.7-1                      OK
libXau6                 1.0.11-1                     OK
libxcb1                 1.16-1                       OK
libXdmcp6               1.1.4-1                      OK
libXt6                  1.3.0-1                      OK
libzstd1                1.5.6-1                      OK
login                   1.13-1                       OK
man-db                  2.12.1-1                     OK
mintty                  3.7.1-1                      OK
ncurses                 6.4-20240120                 OK
openssl                 3.0.13-1                     OK
p11-kit                 0.23.20-1                    OK
p11-kit-trust           0.23.20-1                    OK
perl                    5.36.3-1                     OK
perl-JSON-PP            4.16-2                       OK
perl_autorebase         5.36.3-1                     OK
perl_base               5.36.3-1                     OK
poppler-data            0.4.10-1                     OK
rebase                  4.6.6-1                      OK
run                     1.3.4-2                      OK
sed                     4.9-1                        OK
tar                     1.35-2                       OK
terminfo                6.4-20240120                 OK
tzcode                  2024a-1                      OK
tzdata                  2024a-1                      OK
urw-base35-fonts        20170801-5                   OK
util-linux              2.39.3-2                     OK
vim-minimal             9.0.2155-2                   OK
which                   2.20-2                       OK
xz                      5.4.6-1                      OK
zlib0                   1.3.1-1                      OK
zstd                    1.5.6-1                      OK

$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Users/WDAGUtilityAccount/AppData/Local/Microsoft/WindowsApps

$ which wget
which: no wget in
(/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Users/WDAGUtilityAccount/AppData/Local/Microsoft/WindowsApps)

$ which curl
/cygdrive/c/Windows/system32/curl

$ perl install-tl -v
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 ./tlpkg/installer/gpg/gpg.x86_64-cygwin
D:Couldn't detect gpg so will proceed without verification!
D:setup_programs: preferring system versions
D:program df found in path
D:program curl found in path
D:program wget not usable from path
D:(unix) trying to set up wget, default
./tlpkg/installer/wget/wget.x86_64-cygwin, arg --version
D:program lz4 not usable from path
D:(unix) trying to set up lz4, default
./tlpkg/installer/lz4/lz4.x86_64-cygwin, arg --version
D:program gzip found in path
D:program xz found in path
Loading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb
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 /tmp/lmx1JeyioI/Xr1OPUbzKk
D:TLUtils::_download_file_program: curl
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
/tmp/lmx1JeyioI/Xr1OPUbzKk
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:TLUtils::download_file: tried to download using lwp curl wget, none succeeded
D:TLPDB: downloading
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
didn't succeed, try
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb
D:TLUtils::_download_file_program: curl
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb
/tmp/lmx1JeyioI/sAe0vyRvIp
D:downloading https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb
using curl --user-agent texlive/curl --retry 4 --retry-delay 4
--connect-timeout 30 --fail --location --silent --output
D:TLUtils::download_file: tried to download using lwp curl wget, none succeeded

install-tl: TLPDB::from_file could not initialize from:
https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb
install-tl: Maybe the repository setting should be changed.
install-tl: More info: https://tug.org/texlive/acquire.html

Saludos



More information about the tex-live mailing list.