~/Desktop ❯ pacman -Qi glibc-locales | grep Require
Required By : None
~/Desktop ❯
Hm, then why I ever have the package?..
~/Desktop ❯ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
~/Desktop ❯ man locale
~/Desktop ❯ sudo pacman -Rsun glibc-locales
checking dependencies...
Package (1) Old Version Net Change
glibc-locales 2.32-2 -188.14 MiB
Total Removed Size: 188.14 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing glibc-locales [####################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...
~/Desktop ❯ sudo pacman -Scc
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache...
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n]
removing unused sync repositories...
~/Desktop ❯ sudo pacman -S glibc
warning: glibc-2.33-5 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change Download Size
core/glibc 2.33-5 2.33-5 0.00 MiB 9.83 MiB
Total Download Size: 9.83 MiB
Total Installed Size: 46.01 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
glibc-2.33-5-x86_64 9.8 MiB 2.94 MiB/s 00:03 [####################################################################] 100%
(1/1) checking keys in keyring [####################################################################] 100%
(1/1) checking package integrity [####################################################################] 100%
(1/1) loading package files [####################################################################] 100%
(1/1) checking for file conflicts [####################################################################] 100%
(1/1) checking available disk space [####################################################################] 100%
:: Processing package changes...
(1/1) reinstalling glibc [####################################################################] 100%
Generating locales...
en_US.UTF-8... done
Generation complete.
:: Running post-transaction hooks...
(1/6) Reloading system manager configuration...
(2/6) Creating temporary files...
(3/6) Arming ConditionNeedsUpdate...
(4/6) Restarting cronie for libc upgrade...
(5/6) Refreshing PackageKit...
(6/6) Updating the info directory file...
~/Desktop ❯ locale
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_ALL to default locale: No such file or directory
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
~/Desktop ❯ man locale
man: can't set the locale; make sure $LC_* and $LANG are correct
~/Desktop ❯
cscs, Mark, we were close. Now something not logged involved.
I saw Philip’s post above, did not tried it yet.