On Tue, Jul 06, 2010 at 11:32:58AM +0200, Aurelien Jarno wrote:
> Andre Zepezauer a écrit :
> > Package: locales
> > 
> > today I installed lenny (5.0.2 base-system only) and afterwards
> > performed an apt-get dist-upgrade to squeeze. While upgrading, endless
> > warning messages were printed to the screen:
> > 
> > perl: warning: Setting locale failed.
> > perl: warning: Please check that your locale settings:
> > LANGUAGE = (unset),
> > LC_ALL = (unset),
> > LANG = "en_US.UTF-8"
> > are supported and installed on your system.
> > perl: warning: Falling back to the standard locale ("C").
> > 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 had cancel the upgrade to examine these warning messages. All were the
> > same (see above). At this time the environment variables LANGUAGE and
> > LC_ALL were in fact unset. And LANG had a value of en_US.UTF-8 (see
> > above).
> > 
> > After remove/install locales, editing /etc/defaults/locals, running
> > dpkg-reconfigure locales, logout/login, my environment looked like this:
> > 
> > LANGUAGE=en_US.UTF-8
> > LC_ALL (unset)
> > LANG (unset)
> > 
> > I continued the dist-upgrade, but now without any warnings. Thus it
> > seems to me, that in lenny it is assumed that at least LANG is set, but
> > squeeze assumes LANGUAGE to be set. If this is true, it would be nice to
> > see the upgrade process handling it somewhat better.
> > 
> 
> The problem is that the locales packages is reconfigured very late in
> the upgrade process. There is nothing we can do, the messages will stop
> at the end of the upgrade.

Actually there is, making perl STFU.

-- 
·O·  Pierre Habouzit
··O                                                madco...@debian.org
OOO                                                http://www.madism.org



--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100706163216.gj23...@madism.org

Reply via email to