# Locales error after updating today

**URL:** <https://forum.endeavouros.com/t/locales-error-after-updating-today/74123>\
**Category:** Applications\
**Created:** [August 6, 2025, 4:37am UTC](https://forum.endeavouros.com/t/locales-error-after-updating-today/74123 "2025-08-06T04:37:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlmiller76](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/tlmiller76/32/96350_2.png) [@tlmiller76](https://forum.endeavouros.com/u/tlmiller76)\
**Post date:** [August 6, 2025, 4:37am UTC](https://forum.endeavouros.com/t/locales-error-after-updating-today/74123/1 "2025-08-06T04:37:33Z")

</div>

So, did updates on my system today, everything SEEMED to go smoothly, no errors, but then, upon rebooting, I’m getting locale errors:

```auto
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 
tim@springfield:~$  

```

```auto
tim@springfield:~$ sudo -i 
[sudo] password for tim:  
-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 
[root@springfield ~]#  

```

Never got this error before today, and this system has been installed for nearly a year.

I did go and do a ‘locale-gen’, but that didn’t change anything.

---

<div class="post-metadata">

**Author:** ![eso](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/eso/32/36767_2.png) [@eso](https://forum.endeavouros.com/u/eso)\
**Post date:** [August 6, 2025, 10:14am UTC](https://forum.endeavouros.com/t/locales-error-after-updating-today/74123/2 "2025-08-06T10:14:46Z")

</div>

@tlmiller76

Maybe [this](https://forum.endeavouros.com/t/warning-setlocale-lc-ctype-cannot-change-locale-utf-8-no-such-file-or-directory/35132) helps:

Edit: Honestly - I don’t deserve the solution. Thank you.

---

<div class="post-metadata">

**Author:** ![tlmiller76](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/tlmiller76/32/96350_2.png) [@tlmiller76](https://forum.endeavouros.com/u/tlmiller76)\
**Post date:** [August 6, 2025, 1:40pm UTC](https://forum.endeavouros.com/t/locales-error-after-updating-today/74123/3 "2025-08-06T13:40:55Z")

</div>

Didn’t help directly like probably was meant. Since someone else mentions not to add those to the /etc/environment in Arch, but later when someone else was posting all the files that were asked for, I started checking mine, and somehow the update had replaced /etc/locale.gen with a version where EVERY locale was commented out, so no locales were being generated. Uncommented the correct one, did a locale-gen, and now it’s good.

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [August 8, 2025, 1:41pm UTC](https://forum.endeavouros.com/t/locales-error-after-updating-today/74123/4 "2025-08-08T13:41:03Z")

</div>

Closed on August 8, 2025, 1:41pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
