Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

miss configured locales

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Nimda
Posts: 28
Joined: 2005-09-09 15:38

miss configured locales

#1 Post by Nimda »

Hi guys any help on this one

Code: Select all

apt-get update

Code: Select all

Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://ftp.debian.org stable/main Packages
Hit http://ftp.debian.org stable/main Release
Hit http://ftp.debian.org stable/contrib Packages
Hit http://ftp.debian.org stable/contrib Release
Hit http://ftp.debian.org stable/non-free Packages
Hit http://ftp.debian.org stable/non-free Release
Reading Package Lists... Done

Code: Select all

apt-get - f install

Code: Select all

Reading Package Lists... Done
Building Dependency Tree... Done
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.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB:en_US:en_GB:en",
        LC_ALL = (unset),
        LANG = "en_GB"
    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
Setting up locales (2.3.2.ds1-22) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB:en_US:en_GB:en",
        LC_ALL = (unset),
        LANG = "en_GB"
    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
/var/lib/dpkg/info/locales.postinst: line 53: /usr/sbin/locale-gen: No such file or directory
dpkg: error processing locales (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 locales
E: Sub-process /usr/bin/dpkg returned an error code (1)
I get this error message when i try to install anything.

Any ideas, sugestions, p*?£s takes cos I'm out of ideas.

Thanks in advance

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#2 Post by Harold »

Try dpkg-reconfigure locales

Nimda
Posts: 28
Joined: 2005-09-09 15:38

#3 Post by Nimda »

Hi Harold

Already treied this one, here is the results.

Code: Select all

 dpkg-reconfigure locales

Code: Select all

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB:en_US:en_GB:en",
        LC_ALL = (unset),
        LANG = "en_GB"
    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: locales is broken or not fully installed
This does'nt seem to stop Debian working but it is well enoying.

Post Reply