Originally Posted by
pbhill
I don't understand any of the gobbledygook above... How about some help for non-technical folks?
The moment the install freezes, run the terminal (Start menu - Accessories - Terminal). A window should pop up showing something like this Enter "top" and press Enter (this step is optional, just for you to see what's going on inside the box).
Code:
ubuntal@machine:~$ top
You should see a localedef process at the top, consuming the CPU at about 99%. You should kill it.
To quit the top list, just click the "q" button. Now you need to find out the localedef's id.
In the terminal window enter
Code:
ubuntal@machine:~$ ps -fe | grep locale
You should see something like this
Code:
ubuntal@machine:~$ ps -fe | grep locale
root 17061 15634 0 11:21 ? 00:01:14 localedef some-options-here...
root 15634 1 1 11:20 ? 00:02:29 locale-gen some-options-here...
This means that the upgrade is executing locale-gen, and locale-gen is executing localedef. To kill the bad process, enter (note: in your case the number will be different, just enter your number instead of 15634)
Code:
ubuntal@machine:~$ sudo kill -9 15634
The update should now continue. If it freezes again, kill locale-gen again (the number will again be different).
Then after the upgrade and restart, open a terminal window and enter
Code:
ubuntal@machine:~$ sudo localedef --no-archive -i en_AU -c -f UTF-8 en_AU.UTF-8
In your case it's probably en_US instead of en_AU. To check it's been fixed, go
Code:
ubuntal@machine:~$ locale
LANG=en_AU.UTF-8
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=
ubuntal@machine:~$ exit
Hope this makes sense.
Bookmarks