On Thu, Feb 22, 2007 at 11:41:56AM -0800, Mike McClain wrote: > Ever since installing Sarge last month I've been plagued with these > locale error messages from perl apps like mandb & syslogd-listfiles. > > 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 > > > I finally got this to go away using the following steps: > [EMAIL PROTECTED]:~> dpkg -P localepurge > [EMAIL PROTECTED]:~> apt-get install locales localeconf > after configuration, > [EMAIL PROTECTED]:~/tmp> cp /usr/lib/locale/locale-archive . > [EMAIL PROTECTED]:~> dpkg -P locales localeconf > [EMAIL PROTECTED]:~/tmp> md /usr/lib/locale/ > [EMAIL PROTECTED]:~/tmp> mv locale-archive /usr/lib/locale/ > [EMAIL PROTECTED]:~> apt-get install localepurge > > I'm sure I took the long route and hope one of you can tell me what the > easy way would have been.
the easy way would have been to just install locales, if not installed, or just dpkg-reconfigure locales if it was installed. And then you could have dpkg-reconfigured localepurge and make sure you selected one of your generated locales to *keep*. So, not really any easier, I guess. A
signature.asc
Description: Digital signature