problem solved:

cd /usr/lib/locale
sudo mv locale-archive locale-archive_old
sudo dpkg-reconfigure locales

and voila, sed is not crazy anymore, nor apt, nor kile.

seems that  /usr/lib/locale we have only a locale-archive file.
In Lucid there were folders with each of the locales installed... 
somehow the locale generation got corrupted during the update to Maverick.

___________

look what silly things happened, now solved!

When I started a gnome session using Spanish locale sed does this weird
things:

anto...@antonio-desktop:~$ echo $LANG | sed -e 's,[0-8]*,9,g'
9e9s9_9E9S9.9u9t9f9

anto...@antonio-desktop:~$ echo $LANG | sed -e 's,[0-9]*,9,g'
sed: -e expresión #1, carácter 12: Final de rango inválido

it seems that it doesn't like "9" at all. Surprising, at the least.

___________
Now, I log out and log in again in English language.

anto...@antonio-desktop:~$ echo $LANG | sed -e 's,[0-8]*,9,g'
9e9n9_9G9B9.9u9t9f9
anto...@antonio-desktop:~$ echo $LANG | sed -e 's,[0-9]*,9,g'
9e9n9_9G9B9.9u9t9f9

so sed gives the expected result with 8 and 9.

___________
after the locale regeneration, things work OK.

** Changed in: grub2 (Ubuntu)
       Status: New => Fix Released

-- 
apt-get fails with LANG=es_ES.utf8, succeeds with LANG=C
https://bugs.launchpad.net/bugs/663694
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to