Comment 84 for bug 249340

Revision history for this message
jlms (jjllmmss) wrote : Re: [Bug 249340] Re: Gutsy->Hardy upgrade hangs in localedef

There was no reason for you to lose any data.

You should have backups (irrespective of the OS you use) because
something can always go wrong.

Something you must consider is to have a separate partition for your
data, or at the very least for your home directory (or directories)
and put all data there, then when an upgrade comes along you always
have the option of a full reinstall without touching your data.

If you find too overwhelming all this discussion I suggest you install
from scratch using the latest version of Ubuntu. With time you may
find that following the workarounds provided is achievable, for the
time being you may be better off just putting a DVD and reinstalling
to have a clean start.

Regards and good luck.

On Tue, Aug 12, 2008 at 1:24 AM, Big Dave <email address hidden> wrote:
> Well, as a linux newb, im just confused. Ive only used windows, up until a few months ago.
> I've only recently had the time/patience to try and upgrade to v8.04. Needless to say, it froze on "generating locales". As this is my only pc, and the filesystem was corrupt, i could do nothing except format and re-install 7.03 from disc, then upgrade to 7.10. In total i spent 12 hours achieving absolutely nothing, except losing all my media files.
> I do want to stick with ubuntu, but im disheartened with it now.
>
> Please help a lil newb like me, before i jump off the bridge, and back
> onto windows.
>
> Does that workround permenantly solve the problem of, and install,
> v8.04?
>
> Also, could i just boot kernel 14 and upgrade with the update manager?
>
> --
> Gutsy->Hardy upgrade hangs in localedef
> https://bugs.launchpad.net/bugs/249340
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in "langpack-locales" source package in Ubuntu: New
> Status in "linux" source package in Ubuntu: Incomplete
> Status in "linux-source-2.6.22" source package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: locales
>
> I've been running Feisty for a while and decided to upgrade to Hardy. I used the Update Manager to upgrade from Feisty to Gutsy without problems last night. Tonight I decided to take the next step from Gutsy to Hardy. I again used the Update Manager GUI. But this time things didn't go so well.
>
> During the step "Setting up locales (2.7.9-4) ..." I get the following message:
>
> Generating locales...
> en_AU.UTF-8...
>
> And then the installer hangs forever with localedef eating 100% CPU.
>
> I'm not the only one. Here are the relevant threads on the forums:
>
> http://ubuntuforums.org/showthread.php?t=861384
>
> http://ubuntuforums.org/showthread.php?t=861194
>
> Interestingly enough, both threads were started *tonight* and there are no relevant earlier threads matching "localedef", which makes me suspect this was due to a very recent change.
>
> As a workaround, "sudo killall locale-gen" allows the installation to continue, though several packages fail to install due to dependency errors.
>
> I also submitted an automated bug report after the failed upgrade (bug 249346).
>
>