![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Installation & Upgrades For questions about upgrading and installation of your new Ubuntu OS. |
|
|
Thread Tools | Display Modes |
|
|
#31 | |
|
First Cup of Ubuntu
![]() Join Date: Jul 2008
Beans: 4
|
Re: Hardy 8.04 update freezes on generating locales
Quote:
Had to do this five or six times, and the killed processes went zombie, still consuming the CPU time, but the upgrade finished OK even though quite slowly. After the reboot went Code:
sudo localedef --no-archive -i en_AU -c -f UTF-8 en_AU.UTF-8 |
|
|
|
|
|
|
#32 |
|
Spilled the Beans
![]() Join Date: Dec 2007
Location: Minnesota
Beans: 13
Ubuntu 9.10 Karmic Koala
|
Re: Hardy 8.04 update freezes on generating locales
Thanks for the info, that was much faster than rebooting and running the dpkg command again! We just killed the offending process each time it came up (about 13 times) and finally made it through the install.
|
|
|
|
|
|
#33 | |
|
First Cup of Ubuntu
![]() Join Date: Nov 2006
Beans: 1
|
Re: Hardy 8.04 update freezes on generating locales
Quote:
When I go to login screen I get "Authentication failed" -popup immediately after entering my user name. The same also comes from a console, "Login failed" immediately after entering the user name. Obviously I should get 'dpkg --configure -a' to finish in order to get things done. I'm now downloading an installation CD, hopefully it can clean up this mess. Any other suggestions on fixing this issue are highly appreciated. |
|
|
|
|
|
|
#34 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2007
Location: Maine
Beans: 79
Ubuntu 10.04 Lucid Lynx
|
Re: Hardy 8.04 update freezes on generating locales
Having the exact same problem. Is there a real fix for Hardy or should I just reinstall Feisty (which was fine)? I don't understand any of the gobbledygook above... How about some help for non-technical folks?
|
|
|
|
|
|
#35 | |
|
First Cup of Ubuntu
![]() Join Date: Jul 2008
Beans: 4
|
Re: Hardy 8.04 update freezes on generating locales
Quote:
Code:
ubuntal@machine:~$ Code:
ubuntal@machine:~$ top 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 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... Code:
ubuntal@machine:~$ sudo kill -9 15634 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 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 |
|
|
|
|
|
|
#36 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2005
Location: Switzerland
Beans: 6
Ubuntu Breezy 5.10
|
Re: Hardy 8.04 update freezes on generating locales
Hi all,
I have the same problem. With "pstree" I see that the hanging process is "gzip": hardy(24415) +dpkg(859 +language-suppor(26213) +install-languag(2621 +locale-gen(26219) +locale-gen(26232) +localedef(26261) +gzip(26262) May that help to trouble shoot... BR, Jacques-D. Last edited by jules98; July 31st, 2008 at 08:48 AM.. |
|
|
|
|
|
#37 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2008
Beans: 11
Ubuntu 8.04 Hardy Heron
|
Re: Hardy 8.04 update freezes on generating locales
Your a star Ubuntal. I have been trying to fix this for a few days now and had to reinstall to 7.04, then upgrade via the internet for 2 hours and again up to 8.04. This is deffinetly the fix for this bug. I have tried all the other posts and other pages and this is the only one that deffinetly works. Thanks an endless amount.
|
|
|
|
|
|
#38 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2007
Location: Maine
Beans: 79
Ubuntu 10.04 Lucid Lynx
|
Re: Hardy 8.04 update freezes on generating locales
I am anxious to try Ubuntal's fix, but can't get Ubuntu to boot... all I get is a screen with vertical lines. I've tried safe mode, etc. Do I have to start from scratch and reinstall Gutsy Gibbon or Feisty? (I now have two computers down with this problem, and have had to resort to XP!) Why did I think I should upgrade when all was well?
__________________
"Named must your fear be before banish it you can." |
|
|
|
|
|
#39 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2007
Location: Maine
Beans: 79
Ubuntu 10.04 Lucid Lynx
|
Re: Hardy 8.04 update freezes on generating locales
OK, now I've tried Ubuntal's fix on the second machine. I can at least boot into Ubuntu on that one. I get a message saying that HAL has failed to initialize. I go through the steps as outlined by Ubuntal, but after killing locale-gen, it get the message "Unable to resolve host Ubuntu"
bhill@Ubuntu:~$ ps -fe | grep locale root 4218 1 0 17:30 ? 00:00:00 /sbin/mount.ntfs-3g /dev/sda1 /media/sda1 -o rw,locale=en_US.utf8 root 5707 5705 0 17:31 pts/0 00:00:00 /bin/sh -e /var/lib/dpkg/info/locales.postinst configure 2.6.1-1 root 5708 5707 0 17:31 pts/0 00:00:00 /bin/sh /usr/sbin/locale-gen root 5722 5708 0 17:31 pts/0 00:00:00 /bin/sh /usr/sbin/locale-gen root 5751 5722 99 17:31 pts/0 00:01:09 localedef --no-archive --magic=20051014 -i en_AU -c -f UTF-8 en_AU.UTF-8 pbhill 5773 5753 0 17:33 pts/1 00:00:00 grep locale pbhill@Ubuntu:~$ sudo kill -9 5751 sudo: unable to resolve host Ubuntu [sudo] password for pbhill: pbhill@Ubuntu:~$ Any ideas? Thanks in advance!
__________________
"Named must your fear be before banish it you can." |
|
|
|
|
|
#40 | |
|
First Cup of Ubuntu
![]() Join Date: Aug 2008
Beans: 1
|
Re: Hardy 8.04 update freezes on generating locales
Quote:
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|