Created
September 2, 2022 12:12
-
-
Save tripleee/ac782dfd57fb50af53b7b1443ad25e3e to your computer and use it in GitHub Desktop.
ruawk.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash$ docker run --rm -it debian | |
root@6d9fd42e99af:/# apt-get update | |
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB] | |
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB] | |
Get:3 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [180 kB] | |
Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] | |
Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8182 kB] | |
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2596 B] | |
Fetched 8573 kB in 2s (3663 kB/s) | |
Reading package lists... Done | |
root@6d9fd42e99af:/# apt-get install -y locales | |
Reading package lists... Done | |
Building dependency tree... Done | |
Reading state information... Done | |
The following additional packages will be installed: | |
libc-l10n | |
The following NEW packages will be installed: | |
libc-l10n locales | |
0 upgraded, 2 newly installed, 0 to remove and 17 not upgraded. | |
Need to get 4947 kB of archives. | |
After this operation, 20.9 MB of additional disk space will be used. | |
Get:1 http://deb.debian.org/debian bullseye/main amd64 libc-l10n all 2.31-13+deb11u3 [863 kB] | |
Get:2 http://deb.debian.org/debian bullseye/main amd64 locales all 2.31-13+deb11u3 [4084 kB] | |
Fetched 4947 kB in 3s (1471 kB/s) | |
debconf: delaying package configuration, since apt-utils is not installed | |
Selecting previously unselected package libc-l10n. | |
(Reading database ... 6653 files and directories currently installed.) | |
Preparing to unpack .../libc-l10n_2.31-13+deb11u3_all.deb ... | |
Unpacking libc-l10n (2.31-13+deb11u3) ... | |
Selecting previously unselected package locales. | |
Preparing to unpack .../locales_2.31-13+deb11u3_all.deb ... | |
Unpacking locales (2.31-13+deb11u3) ... | |
Setting up libc-l10n (2.31-13+deb11u3) ... | |
Setting up locales (2.31-13+deb11u3) ... | |
debconf: unable to initialize frontend: Dialog | |
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.) | |
debconf: falling back to frontend: Readline | |
debconf: unable to initialize frontend: Readline | |
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) | |
debconf: falling back to frontend: Teletype | |
Generating locales (this might take a while)... | |
Generation complete. | |
root@6d9fd42e99af:/# dpkg-reconfigure locales | |
debconf: unable to initialize frontend: Dialog | |
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.) | |
debconf: falling back to frontend: Readline | |
debconf: unable to initialize frontend: Readline | |
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) | |
debconf: falling back to frontend: Teletype | |
Configuring locales | |
------------------- | |
Locales are a framework to switch between multiple languages and allow | |
users to use their language, country, characters, collation order, etc. | |
Please choose which locales to generate. UTF-8 locales should be chosen | |
by default, particularly for new installations. Other character sets may | |
be useful for backwards compatibility with older systems and software. | |
1. All locales 250. gl_ES.UTF-8 UTF-8 | |
2. aa_DJ ISO-8859-1 251. gl_ES@euro ISO-8859-15 | |
3. aa_DJ.UTF-8 UTF-8 252. gu_IN UTF-8 | |
4. aa_ER UTF-8 253. gv_GB ISO-8859-1 | |
5. aa_ER@saaho UTF-8 254. gv_GB.UTF-8 UTF-8 | |
... | |
247. gez_ET UTF-8 496. zu_ZA ISO-8859-1 | |
248. gez_ET@abegede UTF-8 497. zu_ZA.UTF-8 UTF-8 | |
249. gl_ES ISO-8859-1 | |
(Enter the items or ranges you want to select, separated by spaces.) | |
Locales to be generated: 389 | |
Many packages in Debian use locales to display text in the correct | |
language for the user. You can choose a default locale for the system | |
from the generated locales. | |
This will select the default language for the entire system. If this | |
system is a multi-user system where not all users are able to speak the | |
default language, they will experience difficulties. | |
1. None 2. C.UTF-8 3. ru_RU.UTF-8 | |
Default locale for the system environment: 3 | |
Generating locales (this might take a while)... | |
ru_RU.UTF-8... done | |
Generation complete. | |
root@6d9fd42e99af:/# LC_ALL=ru_RU.UTF-8 | |
root@6d9fd42e99af:/# export LC_ALL | |
root@6d9fd42e99af:/# echo "\320\321\321\321 \320\321\321\320\321\321\320" | |
ащьф лштнфум | |
root@6d9fd42e99af:/# echo "foo \320\321\321\321 \320\321\321\320\321\321\320" | awk '{print $2}' | |
ащьф | |
root@6d9fd42e99af:/# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment