Re: [Hampshire] dpkg-reconfigure error

Top Page

Reply to this message
Author: Simon Huggins
Date:  
To: hampshire
Subject: Re: [Hampshire] dpkg-reconfigure error
'ello Richard

On Mon, Oct 08, 2007 at 05:50:59PM +0100, Richard Mace wrote:
> I am getting the following error when trying to upgrade or do
> dpkg-reconfigure


> richard@sugar:~$ sudo dpkg-reconfigure apache2-mpm-prefork
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = ""en_GB:en"",
>         LC_ALL = (unset),
>         LANG = ""en_GB.UTF-8""
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> locale: Cannot set LC_CTYPE to default locale: No such file or directory
> locale: Cannot set LC_MESSAGES to default locale: No such file or directory
> locale: Cannot set LC_ALL to default locale: No such file or directory
> /usr/sbin/dpkg-reconfigure: apache2-mpm-prefork is broken or not fully installed


> Any ideas of how to tackle this?


Install it properly first :)

What does
    dpkg --configure --pending
or
    apt-get -f install
do?


Did you use apt-get or aptitude or something else to upgrade/install
this package? You may find that repeating the upgrade command gets you
the real error message or that you should have used dist-upgrade not
upgrade or that an aptitude/apt-get install apache2-mpm-prefork will fix
it.

Let us know what errors you get if you don't manage to fix it.

-- 
 ,--huggie-at-earth-dot-li--------stuff-thing-stuff----------DF5CE2B4--.
_|                "Somebody's poisoned the waterhole!"                 |_

 |                                                                     |

`-------------------- http://www.earth.li/~huggie/ -------------------'