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. -- 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/1278366029.5502.43.ca...@andre-desktop