BV206 wrote: Sat Jun 17, 2023 8:46 am
fehlix wrote: Fri Jun 16, 2023 8:08 pm
BV206 wrote: Fri Jun 16, 2023 7:37 pm
I installed beta 2 in VirtualBox. Everything worked until I tried to remove all the locales I don't need.
In System Locales I unchecked everything except
en_US.UTF-8.
Then I set that to be the default.
It fails and gives this error.
Code: Select all
Generating locales (this might take a while)...
en_US.UTF-8...[error] cannot open locale definition file `en_GB': No such file or directory
done
Generation complete.
*** update-locale: Error: invalid locale settings: LANG=en_US.UTF-8
"Configure System Locales" canceled: exit [255]
I don't know why it's looking for `en_GB'. when that isn't selected.
It seems like this also happend earlier this year when I installed MX 21 but I don't remember how I fixed it.
what would this show:
and
and
I fixed it before I read this reply.
I ran those yesterday but don't remember what was missing.
I do remember that /etc/default/locale only had
LANG=en_US.UTF-8 but it was commented out.
I also had the same thing happen on Debian 12. Both installed with US English as the default language but it couldn't find `en_GB' for some reason. I ran
sudo apt install --reinstall locales and then
sudo dpkg-reconfigure locales on both MX 23 and Debian 12 and it generated the en_US.UTF-8 locale with no errors and without commenting out anything in /etc/default/locale.
Maybe you remember, how you "managed" to get this error. What settings have been selected when booted live
and when you run the installer. Anything changed like timezone and/or locale/language?
Also maybe mention what beta2 ISO you have installed, b/c we have some more than just one.
So anything like this would potential help first to reproduce and maybe also to fix the cause of the issue.