[opensuse] Problems with RC_LANG / locale
Hello, since the last update via smart the language/encoding setting RC_LANG does not work anymore. Even though RC_LANG is set to de_DE.UTF-8 in /etc/sysconfig/language and all other LC_* variables are empty, the command locale outputs LANG= LC_CTYPE=de_DE.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= thus Firefox, OpenOffice and probably other applications are in now in english. This is the output of smart query --installed --name aaa_base aaa_base-10.1-41.as3@i586 aaa_base-10.1-41@i586 aaa_base-debuginfo-10.1-41@i586 What is AS3 anyway? smart also wanted to upgrade the kernel tp 2.6.17-AS3 but I refused that. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Hi, Sven Jacobs schrieb:
This is the output of smart query --installed --name aaa_base
aaa_base-10.1-41.as3@i586 aaa_base-10.1-41@i586 aaa_base-debuginfo-10.1-41@i586
I'm not sure if aaa_base is the right place to look at. But there's definitely something wrong because aaa_base is installed twice. Where does the .as3 package come from? It is definitely not a SUSE package. Please check your configuration and double-check all channels. There might be some channels there that you don't actually want to have.
What is AS3 anyway? smart also wanted to upgrade the kernel tp 2.6.17-AS3 but I refused that.
If it did that and you don't want or expect it, you have too many channels in your configuration. Please add channels on an as-needed basis and not just because they exist. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Hi, Andreas Hanke schrieb:
Where does the .as3 package come from? It is definitely not a SUSE package.
Already found out: It somes from the suser-jengelh repository. This repository contains modified versions of some very important base packages and is targetted at experts only. Don't use it unless you know exactly what you are doing. Repairing this mess again will be a great pleasure. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Where does the .as3 package come from? It is definitely not a SUSE package.
Already found out: It somes from the suser-jengelh repository. This repository contains modified versions of some very important base packages and is targetted at experts only. Don't use it unless you know exactly what you are doing.
Repairing this mess again will be a great pleasure.
Fortunately it wasn't! I disabled the apt-repository and downgraded aaa_base. Everything works fine again! Well I've learned my lesson ;) Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Hi, Sven Jacobs schrieb:
Repairing this mess again will be a great pleasure.
Fortunately it wasn't! I disabled the apt-repository and downgraded aaa_base. Everything works fine again!
You're lucky: aaa_base has a long post-install scriptlet, downgrading of packages with long post-install scriptlets is sometimes tricky.
Well I've learned my lesson ;)
Good. ;) Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
* Andreas Hanke
Already found out: It somes from the suser-jengelh repository. This repository contains modified versions of some very important base packages and is targetted at experts only. Don't use it unless you know exactly what you are doing.
Repairing this mess again will be a great pleasure.
Not tooo bad with smart install aaa_base-10.1-41 then uninstall aaa_base-1.1-41.as3 I had install also the main kernel, but would not boot. Hung every time at the keyboard recognition. Reinstalled the default kernel, linux-2.6.16.13.4 and the above. weird: could boot via install disk -> install -> boot installed -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
since the last update via smart the language/encoding setting RC_LANG does not work anymore. Even though RC_LANG is set to de_DE.UTF-8 in /etc/sysconfig/language and all other LC_* variables are empty, the command locale outputs ...
My part in that aaa_base is only DIR_COLORS and a profile.sh. Other than that, everything else was taken from SUSE's package as-is. The %post script was not modified at all.
What is AS3 anyway?
Ever seen the packman-style versioning that adds packager+release to the RPM release version? It means: this is aaa_base, version 10.1, release 41 from SUSE, release 3 from AS. Jan Engelhardt -- | Software Engineer and Linux/Unix Network Administrator | Alphagate Systems, http://alphagate.hopto.org/ | jengelh's site, http://jengelh.hopto.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Hi, Jan Engelhardt schrieb:
My part in that aaa_base is only DIR_COLORS and a profile.sh. Other than that, everything else was taken from SUSE's package as-is.
there is an interesting line in the file /etc/hxtools_profile.sh added by the .as3 package: unset LANG; This matches exactly the problem reported by Sven: LANG= LC_CTYPE=de_DE.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= RC_LANG not being respected is caused by "only" unsetting LANG. Of course it comes from aaa_base-10.1-41.as3. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
My part in that aaa_base is only DIR_COLORS and a profile.sh. Other than that, everything else was taken from SUSE's package as-is.
there is an interesting line in the file /etc/hxtools_profile.sh added by the .as3 package:
unset LANG;
Thanks for letting me know. It is somewhere between intended and old-cruft-code. The original reason for it was to have LC_CTYPE=de_DE.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES=en_US.UTF-8 LC_PAPER=de_DE.UTF-8 LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" all of these fields be POSIX. Removing unset LANG makes it LANG=en_US.UTF-8 LC_CTYPE=de_DE.UTF-8 LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES=en_US.UTF-8 LC_PAPER=de_DE.UTF-8 LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= I'll change LC_* to POSIX in my /language and send an update to the package. Jan Engelhardt -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Hi, Jan Engelhardt schrieb:
Thanks for letting me know. It is somewhere between intended and old-cruft-code. The original reason for it was to have
[...]
all of these fields be POSIX.
Use LC_ALL if your intention is to override everything. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Thanks for letting me know. It is somewhere between intended and old-cruft-code. The original reason for it was to have
[...]
all of these fields be POSIX.
Use LC_ALL if your intention is to override everything.
I cannot use RC_ALL in a meaningful way, as this is what I want LANG=en_US.UTF-8 LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=en_US.UTF-8 LC_PAPER=de_DE.UTF-8 LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX BTW, SUSE Linux (/etc/sysconfig/langauge) is missing fields for LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION Jan Engelhardt -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
Hi, Jan Engelhardt schrieb:
I cannot use RC_ALL in a meaningful way, as this is what I want LANG=en_US.UTF-8 LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=en_US.UTF-8 LC_PAPER=de_DE.UTF-8 LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX
This can only be achieved by setting at least some of them individually. Actually I don't know if it's a good idea at all to set them in a package, that's why /etc/sysconfig exists, but as it's not my package...
BTW, SUSE Linux (/etc/sysconfig/langauge) is missing fields for LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION
These are GNU extensions, the rest comes from The Single UNIX Specification. Might explain the difference. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
This can only be achieved by setting at least some of them individually.
As said, I corrected it now. The unset LANG was originally there to have LC_TIME and LC_COLLATE be POSIX, but that can be done in sysconfig. Jan Engelhardt -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
participants (4)
-
Andreas Hanke
-
Jan Engelhardt
-
Patrick Shanahan
-
Sven Jacobs