On 2008-02-24 14:32 +0100, Michel BRIAND wrote: > Package: aptitude > Version: 0.4.10-1+b2 > Severity: minor > > I'm using aptitude with sudo and I always get those messages > with aptitude is running installation : > > > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LANG = "en" > 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 cannot reproduce this at all, in any case it almost certainly has nothing to do with aptitude, but is some misconfiguration on your side. > How to get a good environment for it ? > > I don't want to have LANG= set in /etc/environment. I have LANG= set in > ~/.bash_profile and only there. Should be fine. Please post - the contents of /etc/environment and /etc/default/locale (if these files exist) - the output of `sudo locale' and `sudo printenv' - the value of env_reset in /etc/sudoers TIA, Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]