Comment 94 for bug 249340

Revision history for this message
oedstero (ubuntu-edster) wrote :

I'm in a rather hozed state, after deciding to start upgrading a -server installation from Feisty -> Gutsy -> Hardy due to Feisty going EOL in a couple months...

The Gutsy upgrade went fine, I got hung up with locales. I don't have a 2.6.22-14 kernel to fall back to, only 2.6.20-16. My dpkg-reconfigures throw these:

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

        LANGUAGE = (unset),

        LC_ALL = (unset),

        LANG = "en_US.UTF-8"

which cause errors finishing up the 2.6.24-19 install:

dpkg: error processing linux-image-2.6.24-19-server (--configure):

 subprocess post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of linux-ubuntu-modules-2.6.24-19-server:

[...]
# locale

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

LANG=en_US.UTF-8

LC_CTYPE="en_US.UTF-8"
[...]

No combination of dpkg-reconfigures after mkdir'ing /var/run/dbus, chmod'ing /usr/bin/localedef, rm'ing /var/lib/locales/supported.d/local, or other workarounds others have recommended is helping me here... Any advice? There are a bunch of servers that will need to be upgraded.