todovvox |
04-03-2022 09:10 AM |
Locales were not being generated by dpkg-reconfigure locales on Debian
Hey, it's my first post, but I've been lurking here for a while and found a lot of solutions for my previous questions. Now I've been having a question according to locales on Debian Buster, release 10.12.
According to this question that I've posted on SO's board: https://unix.stackexchange.com/quest...ting-on-debian
I have solved my problem by running sudo apt-get install locales. But one question - what is sudo dpkg-reconfigure locales actually doing? Somebody said (somewhere else on the internet), that it is generating chosen locales. But for me - it wasn't doing anything. The locales were nowhere to be found on the system, thus those lines were popping up:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
After running the command once again (sudo dpkg-reconfigure locales) - after installing them by apt-get install of course, and by choosing en_US.UTF-8 in the dpkg-reconfigure locales GUI, a message popped up:
locales-all installed, skipping locales generation
Which is understandable. I have just downloaded a package with all of the locales. So why dpkg-reconfigure locales didn't generate it first? Is it doing the same thing as apt-get install locales-all? But just installing certain locales, not all of them?
|