Sample Header Ad - 728x90

error: Bad entry 'en_AG ', etc, when generating locales on Linux Mint

0 votes
1 answer
247 views
I am unsure what is happening with those "bad locales", I am updating my laptop regularly once daily. This came up today:
Setting up locales (2.35-0ubuntu3.4) ...
Generating locales (this might take a while)...
  cs_CZ.UTF-8... done
error: Bad entry 'en_AG '
  en_AG.UTF-8... done
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
error: Bad entry 'en_IL '
  en_IL.UTF-8... done
  en_IL.UTF-8... done
error: Bad entry 'en_IN '
  en_IN.UTF-8... done
  en_IN.UTF-8... done
error: Bad entry 'en_NG '
  en_NG.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
error: Bad entry 'en_ZM '
  en_ZM.UTF-8... done
  en_ZM.UTF-8... done
  en_ZW.UTF-8... done
  sk_SK.UTF-8... done
Generation complete.
*** I found a file where there are these entries listed:
$ cat /var/lib/locales/supported.d/en
en_HK.UTF-8 UTF-8
en_DK.UTF-8 UTF-8
en_IN UTF-8
en_IL UTF-8
en_ZM UTF-8
en_ZW.UTF-8 UTF-8
en_NZ.UTF-8 UTF-8
en_PH.UTF-8 UTF-8
en_NG UTF-8
en_US.UTF-8 UTF-8
en_GB.UTF-8 UTF-8
en_AU.UTF-8 UTF-8
en_SG.UTF-8 UTF-8
en_BW.UTF-8 UTF-8
en_AG UTF-8
en_ZA.UTF-8 UTF-8
en_CA.UTF-8 UTF-8
en_IE.UTF-8 UTF-8
*** Adding the UTF-8 keyword where missing and running sudo locale-gen does not help, it shows this where the keyword is manually added: > ...Try localedef --help' or localedef --usage' for more information. *** PS: I am on Linux Mint 21.2 (Victoria) Cinnamon and I can edit installed languages here: installed languages on Linux Mint *** Any help is appreciated! *** Today I tried sudo dpkg-reconfigure locales without a luck.
Asked by Vlastimil Burián (30515 rep)
Oct 3, 2023, 09:07 PM
Last activity: Dec 13, 2023, 09:13 PM