Re: Locale 'C' gone?

From: s. keeling (keeling_at_spots.ab.ca)
Date: 01/05/04

  • Next message: Travis Crump: "Re: adding new hard disk"
    Date: Sun, 4 Jan 2004 23:03:58 -0700
    To: debian-user@lists.debian.org
    
    

    Incoming from Kevin Mark:
    >
    > sometime over the past year my locales got zapped. Somehow 'C' is
    > gone.

    I'm not sure that's possible. However:

      - type "locale"

    > I now have en_US. Some of the script give me warnings but they work.
    > But, I'd like to get 'C' and 'POSIX' back. I've tried
    > 'dpkg-reconfigure locales'
    > a few times after various upgrades. Any ideas?

    If "locale -a | less" shows C and POSIX, you should be able to (as
    root) "locale-gen"

    Look in root's startup shell scripts (surely, you didn't change them
    from bash?). ~root/.bash_profile (or maybe ~root/.profile) and
    ~root/.bashrc may have things like:

      LC_ALL="en_US.ISO-8859-1"
      LANG="en_US.ISO-8859-1"
      LANGUAGE="en_US.ISO-8859-1"

    in them. Comment those out. If that was the problem, logging out
    then back in should fix it. If not, check /etc/profile

    -- 
    Any technology distinguishable from magic is insufficiently advanced.
    (*)               http://www.spots.ab.ca/~keeling 
    - -
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Travis Crump: "Re: adding new hard disk"

    Relevant Pages

    • Re: Locale C gone?
      ... > Hi carbon-based free software beings, ... > sometime over the past year my locales got zapped. ... Somehow 'C' is gone. ... they're built into the C library. ...
      (Debian-User)
    • Locale C gone?
      ... sometime over the past year my locales got zapped. ... Somehow 'C' is gone. ... Some of the script give me warnings but they work. ...
      (Debian-User)
    • dpkg-reconfigure locales =?utf-8?q?doesn=C2=B4t_work_?=
      ... When i run "dpkg-reconfigure locales" in a shell only this here i get as ... Diese Nachricht ist GnuPG signiert. ...
      (Ubuntu)
    • Re: charset in debian mutt
      ... > locales were set (used debconf-reconfigure locales), ... you would have used 'dpkg-reconfigure locales'. ... Mutt doesn't "say" anything of the sort. ...
      (Debian-User)
    • Lenny. Locales and Interface Language
      ... Would you, please, help me to explain how locales work in Lenny? ... is it possible to change a default system locale to whatever I ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)