[+] komunikat perla b

Tematy związane z oprogramowaniem, instalacją, konfiguracją
grip
Posty: 14
Rejestracja: 15 lipca 2008, 12:10

[+] komunikat perla błędu locale przy pracy apt-get

Post autor: grip »

Witam,

Dzisiaj walczyłem z polonizacją konsoli aż się udało, jednak jest jeden efekt uboczny.
Gdy chcę cokolwiek zainstalować, usunąć za pomocą apt-geta to mam taki duży piękny komunikat.

Co to jest? Jak tego się pozbyć?
Siedzę nad tym już którąś godzinę i nie mogę sobie z tym poradzić:

Kod: Zaznacz cały

fonon-dev:~# clear
fonon-dev:~# apt-get remove mc
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  mc
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 5526kB disk space will be freed.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "pl_PL",
        LANG = "pl_PL"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Nie można ustawić LC_ALL na domyślną lokalizację: Nie ma takiego pliku a                                              ni katalogu
(Reading database ... 21656 files and directories currently installed.)
Removing mc ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "pl_PL",
        LANG = "pl_PL"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "pl_PL",
        LANG = "pl_PL"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
fonon-dev:~#
Dziękuję za pomoc,
Pozdrawiam.

[Dodano: 2008-07-15, 12:25]
już sobie poradziłem,
w takim wypadku trzeba zrobić następująco:

Kod: Zaznacz cały

echo "pl_PL.UTF-8 UTF-8" > /etc/locale.gen
echo "pl_PL.ISO-8859-2 ISO-8859-2" >> /etc/locale.gen
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen
Pozdrawiam.
ODPOWIEDZ