tlmgr update --all

Zdenek Wagner zdenek.wagner at gmail.com
Mon Jun 3 10:45:19 CEST 2024


po 3. 6. 2024 v 5:28 odesílatel Norbert Preining <norbert at preining.info>
napsal:

> On Sat, 01 Jun 2024, Karl Berry wrote:
> >     perl: warning: Falling back to the standard locale ("C").
>
> Ahh that one ... I remember that.
>
> luatex is too ...... to work with broken locales and simply
> does
>
> $ luatex -ini   -jobname=luatex -progname=luatex luatex.ini
> Unable to read locale data: please check the 'locale' settings of your
> environment for consistency. Exiting now.
>
> In Debian I did
>         LANG=C LC_ALL=C fmtutil-sys ...
>
> > Norbert, do you have any ideas?
>
> We either should do this directly in fmtutil, or in tlmgr.
> Do you have any preferences, Karl?
>
> My tendency is to do it fmtutil just before the actual engine call,
> so that other error messages are still in the current language.
> Something like:
> diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl
> b/Master/texmf-dist/scripts/texlive/fmtutil.pl
> index 63b0d6685ba..89c55b6b5d4 100755
> --- a/Master/texmf-dist/scripts/texlive/fmtutil.pl
> +++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl
> @@ -450,6 +450,12 @@ sub callback_build_formats {
>    # for MFBASES.
>    $ENV{'TEXFORMATS'} ||= "";
>    $ENV{'TEXFORMATS'} = "$tmpdir$sep$ENV{TEXFORMATS}";
> +  #
> +  # reset LANG and LC_ALL to C just in case
> +  # luatex fails to build formats if LANG/LC_ALL has a setting that is
> +  # incorrect,
> +  $ENV{'LANG'} = "C"
> +  $ENV{'LC_ALL'} = "C"
>

Is it necessary to set LANG as well? The same problem appeared in many
other programs and setting LC_ALL=C was sufficient.

>
>    # switch to temporary directory for format generation; on the other
> hand,
>    # for -n, the tmpdir won't exist, but we don't want to find a spurious
>
>
> WDYT?
>
> Best regards
>
> Norbert
>


Zdeněk Wagner

<https://www.zdenek-wagner.eu/>


>
> --
> PREINING Norbert                              https://www.preining.info
> arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20240603/20855720/attachment.htm>


More information about the tex-live mailing list.