Re: Locale issues after potato -> woody

2002-01-07 Thread Petr Hlustik
On Mon, 07 Jan 2002 13:41:27 +1000 john <[EMAIL PROTECTED]> wrote:
>
> The output of locale under X (gnome)is:
> [EMAIL PROTECTED]:~$ locale
> LANG=english
> LC_CTYPE=
> LC_NUMERIC="english"
> LC_TIME="english"
> [etc]

I suspect the potato->woody upgrade involves a deeper issue than just
setting the locale in .xsession or /etc/environment. After my dist-upgrade
on Saturday, the system does even not recognize "C" as a valid locale.

It seems that the locale definitions themselves are missing, even though I
specifically asked for a few locales out of the list to be created during
the upgrade process (Can I re-run that step? Is this documented
somewhere?).

Man locale is not much helpful, I tried putting somewhen /etc/locale.gen
and running localegen but I did not notice anything to be done (no message
even).

My typical locales (C and czech) used to be fine before the Debian upgrade.
Archive search revealed some more questions about this but not many
answers. Thanks for any answers or pointers to documentation.

Thanks,
Petr



Re: Locale issues after potato -> woody

2002-01-06 Thread David B Harris
On Mon, 07 Jan 2002 13:41:27 +1000
john <[EMAIL PROTECTED]> wrote:
> I'm sure this isnt right.
> On the console I'm getting 'C' for all values except LC_ALL, which is
> unset.
> 
> Any ideas on how to fix this are appreciated.

How are you setting those variables? If you're setting them in
~/.xsession, or if GDM is setting them for you, then logging in at the
consol won't set them too.

I would suggest you use /etc/environment; with a line like "LANG=en_US"
or whatever(without quotes, of course).

That being said, those errors you posted were just nonfatal warnings.
You can safely ignore them if you'd like.

--
 .--=-=-=-=--=---=-=-=.
/David Barclay HarrisAut agere, aut mori.  \
\Clan Barclay  Either action, or death./
 `---==-=-=-=-===-=---=--='


pgpQFTUjZn6GF.pgp
Description: PGP signature


Locale issues after potato -> woody

2002-01-06 Thread john
Hi all!

I still have problems after a potato -> woody upgrade. Some are
DNS related, but I also seem to have locale issues. From apt:

;[EMAIL PROTECTED]:/etc/init.d# apt-get install ddd
;Reading Package Lists... Done
;Building Dependency Tree... Done
;The following NEW packages will be installed:
; ddd
;0 packages upgraded, 1 newly installed, 0 to remove and 0  not
upgraded.
;Need to get 1576kB of archives. After unpacking 4447kB will be used.
;Get:1 http://ftp.us.debian.org testing/main ddd 1:3.3.1-8 [1576kB]
;Fetched 1576kB in 45s (34.9kB/s)
;
;perl: warning: Setting locale failed.
;perl: warning: Please check that your locale settings:
;LANGUAGE = (unset),
;LC_ALL = (unset),
;LC_CTYPE = "",
;LANG = "english"
;are supported and installed on your system.
;perl: warning: Falling back to the standard locale ("C").
;Selecting previously deselected package ddd.
;(Reading database ... 63792 files and directories currently installed.)

;Unpacking ddd (from .../ddd_1%3a3.3.1-8_i386.deb) ...
;Setting up ddd (3.3.1-8) ...
;perl: warning: Setting locale failed.
;perl: warning: Please check that your locale settings:
;LANGUAGE = (unset),
;LC_ALL = (unset),
;LC_CTYPE = "",
;LANG = "english"
;are supported and installed on your system.
;perl: warning: Falling back to the standard locale ("C").
;perl: warning: Setting locale failed.
;perl: warning: Please check that your locale settings:
;LANGUAGE = (unset),
;LC_ALL = (unset),
;LC_CTYPE = "",
;LANG = "english"
;are supported and installed on your system.
;perl: warning: Falling back to the standard locale ("C").

The output of locale under X (gnome)is:
[EMAIL PROTECTED]:~$ locale
LANG=english
LC_CTYPE=
LC_NUMERIC="english"
LC_TIME="english"
LC_COLLATE="english"
LC_MONETARY="english"
LC_MESSAGES="english"
LC_PAPER="english"
LC_NAME="english"
LC_ADDRESS="english"
LC_TELEPHONE="english"
LC_MEASUREMENT="english"
LC_IDENTIFICATION="english"
LC_ALL=

I'm sure this isnt right.
On the console I'm getting 'C' for all values except LC_ALL, which is
unset.

Any ideas on how to fix this are appreciated.

John P Foster