[tex-live] tlmgr on Win10 fails

Herbert Voss Herbert.Voss at fu-berlin.de
Wed Nov 21 07:55:30 CET 2018


Norbert,
thanks a lot, I'll try it ...

Herbert

Am 21.11.18 um 01:31 schrieb Norbert Preining:
> Hi Herbert,
>
> On Tue, 20 Nov 2018, Herbert Voss wrote:
>> However, is there any possibility that one can force tlmgr
>> to search first in its own directories for binaries?
> I have committed changes to TLUtils.pm:
> --- a/Master/tlpkg/TeXLive/TLUtils.pm
> +++ b/Master/tlpkg/TeXLive/TLUtils.pm
> @@ -2348,6 +2348,18 @@ sub setup_programs {
>     my ($bindir, $platform, $tlfirst) = @_;
>     my $ok = 1;
>
> +  # tlfirst is (currently) not passed in by either the installer or
> +  # tlmgr, so it will be always false.
> +  # If it is not defined, we check for the env variable
> +  #   TEXLIVE_PREFER_OWN
> +  #
> +  if (!defined($tlfirst)) {
> +    if ($ENV{'TEXLIVE_PREFER_OWN'}) {
> +      debug("setup_programs: TEXLIVE_PREFER_OWN is set!");
> +      $tlfirst = 1;
> +    }
> +  }
> +
>
> So if you set
> 	TEXLIVE_PREFER_OWN=1
> in the environment (for installer and tlmgr), then those programs
> shipped by TeX Live are prefered over those from the system.
>
> The installer will be upated probably today already, after installation
> the texlive.infra will still be old and you need to install from
> tlcritical.
>
> Best
>
> Norbert
>
> --
> PREINING Norbert                               http://www.preining.info
> Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the tex-live mailing list