[pacman-dev] Maybe a pacman bug?
Hi guys, I'd like to report a strange behavior of pacman 3.0.4. I have these settings in /etc/rc.conf: LOCALE="en_US.utf8" HARDWARECLOCK="localtime" TIMEZONE="Europe/Rome" KEYMAP="it" CONSOLEFONT= CONSOLEMAP= USECOLOR="yes" For example, when I run: # pacman -Sc Do you want to remove old packages from cache? [Y/n] Rimozione dei pacchetti vecchi dalla cache in corso... eseguito. I got half of the messages in Italian and half in English. I guess that this is a bug, because pacman has to check in LOCALE and not in LOCALE and KEYMAP. If I use the same LOCALE and KEYMAP (example: LOCALE="it_IT.utf8" KEYMAP="it" or LOCALE="en_US.utf8 KEYMAP="us") pacman works fine and shows me all the exact messages. Any suggestions? -- Giovanni Scafora Arch Linux Trusted User (voidnull) http://www.archlinux.org linuxmania@gmail.com
On 5/12/07, Giovanni Scafora <linuxmania@gmail.com> wrote:
Hi guys,
I'd like to report a strange behavior of pacman 3.0.4. I have these settings in /etc/rc.conf:
LOCALE="en_US.utf8" HARDWARECLOCK="localtime" TIMEZONE="Europe/Rome" KEYMAP="it" CONSOLEFONT= CONSOLEMAP= USECOLOR="yes"
For example, when I run:
# pacman -Sc Do you want to remove old packages from cache? [Y/n] Rimozione dei pacchetti vecchi dalla cache in corso... eseguito.
I got half of the messages in Italian and half in English. I guess that this is a bug, because pacman has to check in LOCALE and not in LOCALE and KEYMAP. If I use the same LOCALE and KEYMAP (example: LOCALE="it_IT.utf8" KEYMAP="it" or LOCALE="en_US.utf8 KEYMAP="us") pacman works fine and shows me all the exact messages. Any suggestions?
This seems really odd. We simply follow the normal gettext initialization procedure, so that shouldn't be the issue. To make sure we are on the same page, you can, using certain keymap/locale settings, get both messages to appear in Italian? -Dan
2007/5/13, Dan McGee <dpmcgee@gmail.com>:
To make sure we are on the same page, you can, using certain keymap/locale settings, get both messages to appear in Italian?
Yes, I've tried. If I set LOCALE="it_IT.utf8" and KEYMAP="it", I get both messages to appear in italian. The problem is when LOCALE and KEYMAP are not set up to the same language. -- Giovanni Scafora Arch Linux Trusted User (voidnull) http://www.archlinux.org linuxmania@gmail.com
2007/5/13, Dan McGee <dpmcgee@gmail.com>:
This seems really odd. We simply follow the normal gettext initialization procedure, so that shouldn't be the issue.
Sorry, my mistake. I solved. Deleting /usr/share/locale/en_US/LC_MESSAGES/pacman.mo on my system, all works fine again. -- Giovanni Scafora Arch Linux Trusted User (voidnull) http://www.archlinux.org linuxmania@gmail.com
2007/5/13, Giovanni Scafora <linuxmania@gmail.com>:
Sorry, my mistake. I solved. Deleting /usr/share/locale/en_US/LC_MESSAGES/pacman.mo on my system, all works fine again.
I had put it time ago for my local tests, sorry. -- Giovanni Scafora Arch Linux Trusted User (voidnull) http://www.archlinux.org linuxmania@gmail.com
participants (2)
-
Dan McGee
-
Giovanni Scafora