[tlbuild] tlmgr/install-tl bug: running out of disk space

Johannes Hielscher jhielscher at posteo.de
Sun Mar 13 00:59:23 CET 2022


Am Sat, 5 Mar 2022 14:46:56 +0900
schrieb Norbert Preining <preining at logic.at>:

> Ah, and I forgot:
> 
> > Anyhow. The situation was awkward, I could not stop install-tl from
> > stubbornly trying its thing. Repeated Ctrl-C does nothing, it just
> > goes on with unsuccessful tar calls. In the end, it displays:  
> 
> Also this should be fixed now (would be nice if you could try it). We
> now catch SIGINT and abort the program, so that the Ctrl-C are not
> sent to the sub-processes.

Things are weird (install-tl-unx 20220312).

1. I like, in principle, that install-tl is complaining that disk space
is short:

Enter command: I
Installing to: /small/disk/2022
Installing [1/4, time/total: ??:??/??:??]: hyphen-base [22k]
Insufficient disk space, but continuing anyway.Installing [2/4, time/total: 00:00/00:00]: kpathsea [1087k]
Installing [3/4, time/total: 00:01/00:01]: texlive-scripts [504k]
Installing [4/4, time/total: 00:02/00:02]: texlive.infra [545k]
Time used for installing the packages: 00:03
Installing [0001/4254, time/total: ??:??/??:??]: 12many [376k]
Installing [0002/4254, time/total: 00:01/02:32:45]: 2up [56k]
……

But the placement of the warning (in between the installation output) is
not very fortunate. (Is this a simple stdout cache flush issue?)


2. It depended on the mirror if Ctrl-C works or not.
>From https://ctan.ijs.si/mirror/tlpretest/ , Ctrl-C does NOT abort
install-tl:

Installing [0010/4254, time/total: 00:04/04:30:46]: aastex [1188k]
^CSSL_INIT
Installing [0011/4254, time/total: 00:07/03:17:09]: abbr [4k]
^CSSL_INIT
Installing [0012/4254, time/total: 00:08/03:44:57]: abc [288k]
^CSSL_INIT
^CTLPDB::_install_data: downloading did not succeed (download_file failed) for https://ctan.ijs.si/mirror/tlpretest/archive/abc.tar.xz
TLUtils::install_packages: Failed to install abc
                           abc will be retried later.
Installing [0013/4254, time/total: 00:08/03:44:57]: abnt [121k]
^CTLUtils::untar: tar xf /tmp/pmzy73udsr/4gqFnJ2wda/abnt.tar failed (in
/small/disk/2022/texmf-dist)
TLPDB::_install_data: untar failed for https://ctan.ijs.si/mirror/tlpretest/archive/abnt.tar.xz


I then tried again with http://www.math.utah.edu/pub/tlpretest/ and
Ctrl-C worked as I would expect it from a CLI application (instantaneous
abort, with a nice notice about a written log file, that also contains
the installation log).

Two ideas:
1. There might be an issue with the ijs.si servers and/or the network
between there and me (access via web browser intermittently didn't work
smoothly for some time either), or a DDoS protection.
2. HTTP vs. HTTPS? The Utah site is plain HTTP, while Ctrl-C with IJS
hung at SSL_INIT.

For now, I hence stayed with Utah.

When the disk ran out of space again, install-tl throws the same error
messages as in my mail last week. This time, though, Ctrl-C worked fine.
As to be expected in this worst-case scenario, the log file is
truncated (incomplete).

I think we can live with the current behaviour. If someone's disk runs
out of space, there is really not much to do from the install-tl side,
and the user should sort out other issues first.


Thanks,
Johannes

> 
> Best
> 
> Norbert
> 
> --
> PREINING Norbert
> https://www.preining.info Fujitsu Research     +    IFMGA Guide
> +    TU Wien    +    TeX Live GPG: 0x860CDC13   fp: F7D8 A928 26E3
> 16A1 9FA0 ACF0 6CAC A448 860C DC13




More information about the tlbuild mailing list.