Bug#321719: libc6: locale -a returns values even if locales package is not installed
At Sun, 07 Aug 2005 09:43:06 +0200,
Marc Haber wrote:
> $ locale -a
> locale: Cannot set LC_CTYPE to default locale: No such file or directory
> C
> POSIX
> de_DE
> de_DE.iso88591
> de_DE.iso885915@euro
> de_DE.utf8
> de_DE@euro
> deutsch
> german
> $ dpkg --list locales
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name Version Description
> +++-==============-==============-============================================
> pn locales <none> (no description available)
> [57/555]mh@lefler[chroot sid-clamav-getfiles]:~$
Please try: ls -al /usr/lib/locale/locale-archive .
If it's existed, then try to remove this file and invoke locale -a again.
I guess it's simply locales.prerm bug.
Regards,
-- gotom
Reply to: