Comment 27 for bug 202959

Revision history for this message
Joeri Spitaels (jspitaels) wrote : Re: [Bug 202959] Re: [hardy] generating locales stalls

The steps taken by jdaviescoates worked partially for me too.
I didn't think of choosing a different kernel. As I was upgrading from
7.10 I just used the default 2.6.22.15 kernel.

The only way to stop the machine from hanging while generating those
resource files was a CTRL-ALT-DEL and then a hard press on the
hardreset button (sounds like Windows 98 doesn't it ;-) )

Next I rebooted into 2.6.22.15 recovery mode from grub. I chose to be
dropped into a root shell. There I could launch:

dpkg --configure -a

and afterwards

reboot

That got me to the Gnome logon screen. A normal logon from there would
hang though because of X not being configured completely apparently.
So after another hard reset I succesfully logged into a Gnome Failsafe
session (change the session at the logon screen).

From there I had to

sudo dpkg --configure -a

in a terminal once again which generated those resource files in less
than a second. The rest of the pending packages (including X and the
latest 2.6.24 kernel) installed smoothly as well.

HTH,
JSP

PS: While in the root recovery shell I experimented with setting the
locales package on hold as such:

echo locales hold | dpkg --set-selections

and auditing the unfinished packages with

dpkg -C

but that turned out to be unnecessary.