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

Bug#588180: dist-upgrade from lenny to squeeze with tons of warning messages



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.


-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: