[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: texlive install in testing fails on tex-common




On 24.2.2021 8.06, Norbert Preining wrote:
I guess the problem is you haven't generated the locale ...

What does
	grep fi_FI /etc/locale.gen
say?

root# grep fi_FI /etc/locale.gen
# fi_FI ISO-8859-1
fi_FI.UTF-8 UTF-8
# fi_FI@euro ISO-8859-15
# fi_FI.UTF-8 UTF-8


It **should** say

$ grep fi_FI /etc/locale.gen
# fi_FI ISO-8859-1
fi_FI.UTF-8 UTF-8
# fi_FI@euro ISO-8859-15
$

if you want the UTF8 style locale (which I strongly suggest)

If the fi_FI.UTF8 is not enabled (i.e., there is a leading # sign)

So it is enabled.

please

either:
	run
		sudo dpkg-reconfigure locales

This gives:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "fi_FI@euro",
    LANG = "fi_FI.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("fi_FI.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: Tiedostoa tai hakemistoa ei ole
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory /usr/bin/locale: Cannot set LC_ALL to default locale: Tiedostoa tai hakemistoa ei ole
Generating locales (this might take a while)...
  fi_FI.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "fi_FI@euro",
    LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "fi_FI@euro",
    LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


or:
	edit the file by hand and activate fi_FI.UTF8
	and then run
		sudo locale-gen

Running "locale-gen" (with fi_FI.UTF-8 UTF-8 "activated" in /etc/locale.gen) gives:

Generating locales (this might take a while)...
  fi_FI.UTF-8... done
Generation complete.


And after that "locale" still gives:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: Tiedostoa tai hakemistoa ei ole
LANG=fi_FI.UTF-8
LANGUAGE=
LC_CTYPE=fi_FI@euro
LC_NUMERIC="fi_FI.UTF-8"
LC_TIME="fi_FI.UTF-8"
LC_COLLATE="fi_FI.UTF-8"
LC_MONETARY="fi_FI.UTF-8"
LC_MESSAGES="fi_FI.UTF-8"
LC_PAPER="fi_FI.UTF-8"
LC_NAME="fi_FI.UTF-8"
LC_ADDRESS="fi_FI.UTF-8"
LC_TELEPHONE="fi_FI.UTF-8"
LC_MEASUREMENT="fi_FI.UTF-8"
LC_IDENTIFICATION="fi_FI.UTF-8"
LC_ALL=

--
Jouko


Reply to: