update-grub problem in Estonian locale

Bug #55440 reported by Spott
14
Affects Status Importance Assigned to Milestone
grub (Debian)
Fix Released
Unknown
grub (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Natty by asala
Dapper
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: grub

In systems, what running on Estonain locale - there is problem with update-grub.
This don't work, and so many users running still with old kernels. Output of this command:
suvi@masin64:/etc$ sudo update-grub
Password:
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
sed: -e avaldis #1, sümbol 186: Invalid range end
sed: -e avaldis #1, sümbol 45: Invalid range end
sed: -e avaldis #1, sümbol 186: Invalid range end
suvi@masin64:/etc$

Problem is in locales. I find that same problem was also in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=352670

I can also update my kernel list with command:
LANG=C sudo update-grub
But I need to start this manually after new Kernel is installed with updates.

Tags: boot
Changed in grub:
status: Unknown → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

This is fixed in Edgy, but we should probably backport the fix to Dapper.

Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in edgy, as previously noted; I created a new task for dapper.

grub (0.97-8) unstable; urgency=low
[...]
  * Use POSIX regexp to support more locales. Thanks to Hasso Tepper
    <email address hidden> for the patch. (closes: #361438, #352670)
[...]
 -- Otavio Salvador <email address hidden> Mon, 29 May 2006 13:45:06 -0300

Changed in grub:
status: New → Fix Released
Revision history for this message
asala (asala) wrote :

Seems that something related to this is still remaining in 10.10 Maverick...

with locale as:
antonio@antonio-desktop:/boot$ locale
LANG=es_ES.utf8
LANGUAGE=es_ES:es:en
LC_CTYPE="es_ES.utf8"
LC_NUMERIC="es_ES.utf8"
LC_TIME="es_ES.utf8"
LC_COLLATE="es_ES.utf8"
LC_MONETARY="es_ES.utf8"
LC_MESSAGES="es_ES.utf8"
LC_PAPER="es_ES.utf8"
LC_NAME="es_ES.utf8"
LC_ADDRESS="es_ES.utf8"
LC_TELEPHONE="es_ES.utf8"
LC_MEASUREMENT="es_ES.utf8"
LC_IDENTIFICATION="es_ES.utf8"
LC_ALL=

The result is:

update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
sed: -e expresión #1, carácter 60: Final de rango inválido

and, well, some packages uninstalled.

Revision history for this message
asala (asala) wrote :

I confirm that many dependency problems with texlive-latex-base and with the kernel 2.6.35 which drove me crazy with

sudo aptitude upgrade

disappeared with

sudo LANG=C aptitude upgrade

This should have been fixed by now, isn't it... well I guess we have a subtle regression.

Revision history for this message
asala (asala) wrote :

sorry it was:
 LANG=C sudo aptitude upgrade

Revision history for this message
JC Hulce (soaringsky) wrote :

Thank you for reporting this bug to Ubuntu. The version of Ubuntu referenced in this issue has reached end of life, and the issue is fixed in newer versions of Ubuntu. Therefore, I am closing the Dapper task.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Changed in grub (Ubuntu Dapper):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.