Lucid: locale not supported by C library

Bug #504174 reported by dino99 on 2010-01-07
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

I update Lucid from outside (chroot) because it can't start. Here is the output when i run update-manager:

oem@oem-desktop:~$ sudo mount /dev/sdc5 /mnt/lucid/
[sudo] password for oem:
oem@oem-desktop:~$ sudo mount -o bind /proc /mnt/lucid/proc
oem@oem-desktop:~$ sudo mount -o bind /dev /mnt/lucid/dev
oem@oem-desktop:~$ sudo mount -o bind /dev/pts /mnt/lucid/dev/pts
oem@oem-desktop:~$ sudo mount -o bind /sys /mnt/lucid/sys
oem@oem-desktop:~$ sudo cp /etc/resolv.conf /mnt/lucid/etc/resolve.conf
oem@oem-desktop:~$ sudo chroot /mnt/lucid /bin/bash
root@oem-desktop:/# update-manager

(process:3260): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
ERROR:root:setlocale failed
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py", line 120, in __init__
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.6/locale.py", line 515, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting

(process:3316): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.

(process:3318): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
root@oem-desktop:/#

dino99 (9d9) wrote :

As a result, reporting with apport fail:

root@oem-desktop:/# ubuntu-bug update-manager

(process:3369): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
sudo: unable to resolve host oem-desktop
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-vnKQ4SsvQj: Connection refused)
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-IDMQWzA4t7: Connection refused)
Error showing url: Operation not supported
root@oem-desktop:/#

The process complaint but finally Firefox try to open and freeze at the beginning.

Lukas Hejtmanek (xhejtman) wrote :

Same for me:
dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = "en_US.UTF-8",
 LC_CTYPE = "en_US.UTF-8",
 LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...
  cs_CZ.UTF-8... up-to-date
  en_AG.UTF-8... up-to-date
  en_AU.UTF-8... up-to-date
  en_BW.UTF-8... up-to-date
  en_CA.UTF-8... up-to-date
  en_DK.UTF-8... up-to-date
  en_GB.UTF-8... up-to-date
  en_HK.UTF-8... up-to-date
  en_IE.UTF-8... up-to-date
  en_IN.UTF-8... up-to-date
  en_NG.UTF-8... up-to-date
  en_NZ.UTF-8... up-to-date
  en_PH.UTF-8... up-to-date
  en_SG.UTF-8... up-to-date
  en_US.UTF-8... up-to-date
  en_ZA.UTF-8... up-to-date
  en_ZW.UTF-8... up-to-date
Generation complete.

Changed in update-manager (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers