sudo apt-get install locales Reading package lists... Done Building dependency tree Reading state information... Done locales is already the newest version. locales set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up global (5.7.1-1) ... hostname: Name or service not known dpkg: error processing global (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: global E: Sub-process /usr/bin/dpkg returned an error code (1)
The fix is to add a second line to your /etc/hosts file 127.0.0.1 [your_computer_name or domain_name] and then run find. I don't know why find has to be run but it works! Will search
Updates:
Aug. 28, 2010. Still have not solved the locale problem. When you do sudo dpkg-reconfigure locale
it will try to bring up a graphical screen. In a server enviroment, this is not possible. The fix for those packages which need a configuration is to install the package console-setup. It consumes 2806 Kb bytes. Maybe you can just remove it afterwards. My remaining problem is that dpkg cannot find the en.US-8553-1 locale is not installed! Duh. This is getting to our nerves.
I am reading the info at http://blog.andrewbeacock.com/2007/01/how-to-change-your-default-locale-on.html. Hope it helps.
No comments:
Post a Comment