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

Johannes Hielscher jhielscher at posteo.de
Sun Mar 13 14:28:54 CET 2022


Am Sun, 13 Mar 2022 21:08:29 +0900
schrieb Norbert Preining <norbert at preining.info>:

> Hi Johannes,
> 
> On Sun, 13 Mar 2022, Norbert Preining wrote:
> > > I got the message, though, when I did not import the settings, but
> > > started the install-tl configuration from scratch.  
> > 
> > Ahh, good point. I will look into that. It *should* be shown also
> > in the case of profile/imports.  
> 
> Could you try with the following patch applied?
> 
> --- a/Master/install-tl
> +++ b/Master/install-tl
> @@ -2444,6 +2444,8 @@ sub import_settings_from_old_tlpdb {
>        tlwarn("  to redo this setting by running:\n");
>      }
>    }
> +  # update size information
> +  $vars{'free_size'} = TeXLive::TLUtils::diskfree($vars{'TEXDIR'});
>  } # import_settings_from_old_tlpdb
> 
>  # do everything to select a scheme
> 
> 
> (to install-tl)

Yes, now the warning also pops up when settigns are imported from a
previous install.

Thanks!

Update on SSL_INIT: I moved the system-provided /usr/bin/curl binary
out of the $PATH. Now the SSL_INIT appears for each connection. It
suspiciously looks like a known bug of recent wget versions [0].

That would mean that if curl fails (not only due to download issues,
but also on SIGINT from CLI), the system-provided wget is invoked as a
fallback.

After tinkering around (copying wget binaries between hosts/OSes,
reading the source code, and such stuff) with limited success, I found
an interesting “solution”: I got the Net::LWP Perl package with HTTPS
support. Now things run five times faster (by ETA prediction as well as
subjective impression), and are interruptible too.

That does just hide, not solve, the issues with curl and wget, though.
But at least it explains the seemingly rare/erratic occurrence (and is
important to keep in mind for further debugging).

Anyway, I strongly recommend to more aggressively advertise Net::LWP as
a soft prerequisite/recommendation for any major tlmgr action.
Especially for those without a LAN-like internet connection.

Best,
Johannes

[0]
https://savannah.gnu.org/bugs/?61125



More information about the tlbuild mailing list.