[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locales failure



On Thu, Feb 08, 2007 at 03:39:09PM -0500 or thereabouts, Tony Heal wrote:

> When upgrading from sarge to etch I get this error several times. The
> upgrade continues (apparently normally) but I would like to know why I
> get this and if I can fix it.

> perl: warning: Setting locale failed.
> 
> perl: warning: Please check that your locale settings:

[ ...]

> I have used locale and it shows
> 
>  
> 
> sarge-plain:~# locale

[ ...]

> But nothing in the man page says anything about how LC_ALL gets set.
> Only that it is 'all of the above'
> 
>  
> 
> How can I fix this?

Hi Tony:

First I would 'dpkg-reconfigure locales' and set the desired language
you want.

When I did this after my upgrade from Sarge to Etch, the reconfigure
setting only stuck for root, and remained stuck with the old values for
the ordinary user.

So, Marcus Blumage, (earlier this week on debian-user) instructed me to
do this;
	[Regarding the locale user setting]

	[ ...]  you need to find out whether it is in ~/.bashrc or
	~/.bash_profile and change it to:

	        export LANG=en_CA.UTF-8

		Anyway adding this last line to one of those two files
		should solve
		your problem. You will have to logout and login again to
		make the
		changes take effect.

Obviously you'll use your preferred language, but doing the edit to
either  ~/.bashrc or ~/.bash_profile should fix things up for you if the
'dpkg-reconfigure' command didn't work for all users.

HTH
-- 
Regards
Stephen A.
                                                   
Encrypted/Signed e-mail accepted (GPG or PGP) -- Key ID: 978BA045
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To be or not to be.
		-- Shakespeare
To do is to be.
		-- Nietzsche
To be is to do.
		-- Sartre
Do be do be do.
		-- Sinatra
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Attachment: signature.asc
Description: Digital signature


Reply to: