Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22410 - glibc 2.12.2 locales not installed properly

Attached to Project: Arch Linux
Opened by Benny (b3nny) - Wednesday, 12 January 2011, 22:13 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 16 January 2011, 10:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
locales not installed properly

Additional info:
* package version: 2.12.2

Fix:
Add line to PKGBUILD:
make install_root=${pkgdir} localedata/install-locales




This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 16 January 2011, 10:15 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see comments
Comment by Allan McRae (Allan) - Wednesday, 12 January 2011, 23:40 GMT
Any chance of providing details of what is actually wrong? Locales work fine here.
Comment by Jan de Groot (JGC) - Wednesday, 12 January 2011, 23:59 GMT
This is not a bug, but a feature. The localedata/install-locales runs exactly the same commands as locale-gen does on an installed system, with the difference that it generates a huge pile of unwanted locales.
Edit /etc/locale.gen and run locale-gen to solve your problem.
Comment by Benny (b3nny) - Thursday, 13 January 2011, 00:17 GMT
It used to work fine with me as well, but it suddenly stopped doing so a short while ago.
The symptoms with me were that i lost unicode support in the terminal and lines no longer being drawn properly using ncurses.
I noticed it on one arch and verified the same problem on all of them, and i think something went wrong at 2.12.1-3 -> 2.12.1-4 (imho).

Anyway, the above is what fixed it for me.

Comment by Benny (b3nny) - Thursday, 13 January 2011, 00:18 GMT
"Edit /etc/locale.gen and run locale-gen to solve your problem."

I tried that, and it didn't solve it.
Comment by Jan de Groot (JGC) - Thursday, 13 January 2011, 08:19 GMT
What are the contents of /etc/locale-gen (use "grep -v ^# /etc/locale-gen"), and what's the output of running "locale-gen"
Comment by Benny (b3nny) - Thursday, 13 January 2011, 17:29 GMT
Confirmed on yet another one (nr 4).
Standard locale, no error with locale-gen, same problem.

grep -v "^#" /etc/locale.gen
en_US.UTF-8 UTF-8
en_US ISO-8859-1

locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.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="en_US.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=

locale-gen
Generating locales...
en_US.UTF-8... done
en_US.ISO-8859-1... done
Generation complete.

I admit it is a bit strange that I seem to be the only one with this issue, but there is nothing
out of the ordinary with my installations, all out of the box stuff and even standard locale.
Comment by Allan McRae (Allan) - Saturday, 15 January 2011, 01:13 GMT
> The symptoms with me were that i lost unicode support in the terminal and lines no longer being drawn properly using ncurses.

That does not necessarily sounds like a locale issue... What terminal are you using?
Comment by Benny (b3nny) - Saturday, 15 January 2011, 18:45 GMT
I think you're right Allan.

Installing all locales did fix the line drawing and french characters, but I cheered a bit
too soon apparently, because more exotic characters remain a problem.

I use rxvt-unicode, and it used to render everything you'd throw at it just fine, but for
some reason it stopped doing that. It is however the same for other terminals as well
it seems (I tested gnome-terminal).

Thanks for your time.

Loading...