Bug#240335: locales: Locale installation has to be killed, excessive cpu usage
At Fri, 26 Mar 2004 20:17:19 +0000,
Johannes Jordens wrote:
> Since the latest version of locales (2.3.2.ds1-11) I had to kill it
> whenever apt attempted to install it because CPU usage shot up to 99 %.
> I know that that is normal during locale-generation, however, locales
> does not even get to generate the locales, it stays at:
>
> Setting up locales (2.3.2.ds1-11) ...
>
> After having let locale "work" at 99 % for 4 hours straight (surely not
> the intended behaviour), "top" showed:
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 5675 root 22 0 1420 1420 544 R 99.2 0.2 4:08.80 sed
>
> ps axf gives (relevant sections):
> \_ aptitude
> \_ /usr/bin/dpkg --configure locales libgimp1.3 gimp1.3 libglade2-dev
> \_ /usr/bin/perl -w /usr/share/debconf/frontend
> /var/lib/dpkg/info/locales.postinst configure 2.3.2.ds1-10
> \_ /bin/sh /var/lib/dpkg/info/locales.config configure 2.3.2.ds1-10
> \_ /bin/sh /var/lib/dpkg/info/locales.config configure 2.3.2.ds1-10
> \_ sed -e s/,/, /g -e s/, *$//
Why does your postinst configure 2.3.2.ds1-10? Apparently something
is wrong. Fix your environment in first.
> Similar errors happened before, but they usually went away with the next
> version of locales. From the above mentioned programme output I guess
> sed is the programme causing the problem, the installed version is
> reported as "GNU sed version 4.0.9"
>
> -- debconf information:
> * locales/default_environment_locale: en_GB.UTF-8
> * locales/locales_to_be_generated: de_DE.UTF-8 UTF-8, en_GB.UTF-8 UTF-8
> LANG=C sed --version
GNU sed version 4.0.9
> dpkg -s locales | grep Version
Version: 2.3.2.ds1-11
> dpkg-reconfigure locales
Generating locales...
en_GB.UTF-8... done
ja_JP.EUC-JP... done
ja_JP.UTF-8... done
en_US.ISO-8859-1... done
de_DE.ISO-8859-1... done
de_DE.UTF-8... done
Generation complete.
Regards,
-- gotom
Reply to: