-
Notifications
You must be signed in to change notification settings - Fork 238
Open
Labels
1. Feature requestA request for a new featureA request for a new feature
Description
Is your feature request related to a problem? Please describe.
When entering a new toolbox using the image quay.io/toolbx-images/debian-toolbox:13, the following warnings are displayed:
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
Describe the solution you'd like
Adding the locales-all package to the image will ensure that the locale files are available.
Additional context
Here is a full log of the process:
stephen@zzz [~]
$ toolbox create --image quay.io/toolbx-images/debian-toolbox:13
Created container: debian-toolbox-13
Enter with: toolbox enter debian-toolbox-13
stephen@zzz [~]
$ toolbox enter debian-toolbox-13
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
stephen@debian-toolbox-13 [~]
$ sudo apt update && sudo apt install locales-all
Get:1 http://deb.debian.org/debian trixie InRelease [138 kB]
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.1 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9668 kB]
Get:5 http://deb.debian.org/debian trixie/main Translation-en [6484 kB]
Get:6 http://deb.debian.org/debian trixie-updates/main amd64 Packages [2432 B]
Get:7 http://deb.debian.org/debian trixie-updates/main Translation-en [396 B]
Get:8 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [31.7 kB]
Get:9 http://deb.debian.org/debian-security trixie-security/main Translation-en [20.7 kB]
Fetched 16.4 MB in 3min 24s (80.7 kB/s)
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Installing:
locales-all
Installing dependencies:
libc-l10n
Summary:
Upgrading: 0, Installing: 2, Removing: 0, Not Upgrading: 1
Download size: 11.8 MB
Space needed: 247 MB / 270 GB available
Continue? [Y/n] y
Get:1 http://deb.debian.org/debian trixie/main amd64 libc-l10n all 2.41-12 [739 kB]
Get:2 http://deb.debian.org/debian trixie/main amd64 locales-all amd64 2.41-12 [11.1 MB]
Fetched 11.8 MB in 1s (20.6 MB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = (unset),
LC_NUMERIC = (unset),
LC_COLLATE = (unset),
LC_TIME = (unset),
LC_MESSAGES = (unset),
LC_MONETARY = (unset),
LC_ADDRESS = (unset),
LC_IDENTIFICATION = (unset),
LC_MEASUREMENT = (unset),
LC_PAPER = (unset),
LC_TELEPHONE = (unset),
LC_NAME = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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 79, <STDIN> line 2.)
debconf: falling back to frontend: Readline
Selecting previously unselected package libc-l10n.
(Reading database ... 18319 files and directories currently installed.)
Preparing to unpack .../libc-l10n_2.41-12_all.deb ...
Unpacking libc-l10n (2.41-12) ...
Selecting previously unselected package locales-all.
Preparing to unpack .../locales-all_2.41-12_amd64.deb ...
Unpacking locales-all (2.41-12) ...
Setting up libc-l10n (2.41-12) ...
Setting up locales-all (2.41-12) ...
stephen@debian-toolbox-13 [~]
$ exit
logout
stephen@zzz [~]
$ toolbox enter debian-toolbox-13
stephen@debian-toolbox-13 [~]
$
li1234yun
Metadata
Metadata
Assignees
Labels
1. Feature requestA request for a new featureA request for a new feature