Call for testing: TeX Collection 2020

Norbert Preining norbert at preining.info
Tue Apr 7 03:13:55 CEST 2020


Hi Harald,

On Tue, 07 Apr 2020, Norbert Preining wrote:
> Can you test **two** things please:
> - first, fix the typo in TLDownload.pm
> --- a/Master/tlpkg/TeXLive/TLDownload.pm
> +++ b/Master/tlpkg/TeXLive/TLDownload.pm
> @@ -61,7 +61,7 @@ sub reinit
>    $self->{'ua'} = $ua;
>    $self->{'enabled'} = 1;
>    $self->{'errorcount'} = 0;
> -  $self->{'initcout'} += 1;
> +  $self->{'initcount'} += 1;
>  }
>  sub enabled
>  {
> 
> if that helps, hurray!

But I don't think so. My guess now is the following:
- before the update, if LWP once failed, it was disabled and from then
  on wget was used
- your proxy does not work with LWP, thus after a one-time failure wget
  was used and everything was fine
- the new code re-enables LWP (since it it much faster then wget), as it
  often happens that after a few hundred packages the connection
  breaks/is terminated, and re-enabling it helps a lot
- this now means that timeouts happen for each and every package
- in fact, it should only happen 10 times (max re-enable number)
- but the bug (see above) effectively disabled the max-reenable count,
  so LWP was re-enabled for each and every package

Solutions for you:
- use the above patch and after 10 package failures it should switch
  permanently to wget
- use --disable-persistent-connection
- set TEXLIVE_DOWNLOADER=wget in the environment

> - if that does NOT help, undo the above fix and revert the change
> by patch -R -ing the attached patch. 

Reverting the attached change will work as before, that is disabling LWP
once and for all, and switch to wget. Which we don't want to have as
default.

Best

Norbert

--
PREINING Norbert                              https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-live mailing list.