locales install error

ZIYAD A. M. AL-BATLY zamb at spymac.com
Sun Apr 24 19:03:12 UTC 2005


On Sun, 2005-04-24 at 12:36 -0500, Michael Montz wrote:
> When doing a dist-upgrade to Hoary, locales and ubuntu-base failed to
> install.  I've tried to force the install of locales but have been
> unsucessful in any attempt to install it.
> 
> Any suggestions?
> 
> # apt-get install locales
> Reading package lists... Done
> Building dependency tree... Done
> locales is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up locales (2.3.2.ds1-20ubuntu13) ...
> Generating locales...
>   Usage:./usr/sbin/validlocale <locale>...Try `localedef --help' or
> `localedef --usage' for more information.
> dpkg: error processing locales (--configure):
>  subprocess post-installation script returned error exit status 4
> Errors were encountered while processing:
>  locales
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> 
Try the following:
        LC_ALL=C apt-get install locales
See if it helps you.  There is a bug in dpkg (I think) that prevent it
from installing the package "locales" when the locales are broken in
your system.

Ziyad.





More information about the ubuntu-users mailing list