Closed HusniMuhammad closed 10 months ago
Current fix -
Login as root user and -
apt install -y nano && apt install -y locales
Let it fail once in locales
, as it will setup some configuration files that we need.
Now do -
nano /etc/locale.gen
Scroll down and uncomment # en_US.UTF-8 UTF-8
(remove the #
)
CTRL+X+Y+ENTER save and exit. Then run -
apt install -y locales
Error should be fixed.
Worked thanks
Welcome. I had gotten the same error in default proot-distro debian, pushing me to fix it.
Warning is not error and what you see is expected as locales are not configured.
Although I'd keep this opened as it is possible to set up en_US.UTF-8
locale as default configuration in new release.
Problem description
locale set error in proot-distro Debian unstable (Sometimes in termux's proot-distro's default repo: stable)
After using unstable repo of Debian (for getting frequent updates)
changing the repo
Modify the (../etc/apt/sources.list) file
After modification I'm using commands like
It's shows following warning/error message
What steps will reproduce the bug?
What is the expected behavior?
No errors (I think so)