LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt errors (https://www.linuxquestions.org/questions/debian-26/apt-errors-423875/)

ekdya 03-11-2006 01:52 PM

apt errors
 
Hi
this maynot be apt errors but sure it is a command to use inorder to show the error, I am not sure why and how to fix it.

thanks

**************************************************
fred:/home/sam# apt-get remove --purge apt-spy
...
Do you want to continue [Y/n]?
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US"
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
(Reading database ... 32369 files and directories currently installed.)
Removing apt-spy ...
Purging configuration files for apt-spy ...

kushalkoolwal 03-11-2006 02:08 PM

Quote:

Originally Posted by ekdya
Hi
this maynot be apt errors but sure it is a command to use inorder to show the error, I am not sure why and how to fix it.

thanks

**************************************************
fred:/home/sam# apt-get remove --purge apt-spy
...
Do you want to continue [Y/n]?
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US"
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
(Reading database ... 32369 files and directories currently installed.)
Removing apt-spy ...
Purging configuration files for apt-spy ...


do an apt-get install locales and just follow the instruction. This is a bug related to perl.

ekdya 03-11-2006 02:54 PM

#apt-get install locales
...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US"
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
Preconfiguring packages ...
(Reading database ... 33248 files and directories currently installed.)
Removing base-config ...
Selecting previously deselected package locales.
(Reading database ... 33244 files and directories currently installed.)
Unpacking locales (from .../locales_2.3.6-3_all.deb) ...
Setting up locales (2.3.6-3) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US"
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
Generating locales (this might take a while)...
en_US.ISO-8859-1... done
Generation complete.


All times are GMT -5. The time now is 09:47 PM.