Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: apt-get: chybove hlasky o locale  (Přečteno 5878 krát)

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
apt-get: chybove hlasky o locale
« kdy: 30 Dubna 2010, 13:31:12 »
Ahoj, pri instalaci vsftpd to hlasi chyby. Balicek se naistaluje, ale ty chyby me irituji. Jak mam nastavit locale a jazyk? Poradie prosim?
Diky.
Kód: [Vybrat]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  iputils-ping ruby1.8 ruby libruby1.8
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  vsftpd
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/119kB of archives.
After this operation, 426kB of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package vsftpd.
(Reading database ... 11718 files and directories currently installed.)
Unpacking vsftpd (from .../vsftpd_2.0.7-1_i386.deb) ...
Setting up vsftpd (2.0.7-1) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "cs_CZ.UTF-8"
    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 = (unset),
LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
invoke-rc.d: initscript inetutils-inetd, action "force-reload" failed.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "cs_CZ.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Starting FTP server: vsftpd.

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: apt-get: chybove hlasky o locale
« Odpověď #1 kdy: 30 Dubna 2010, 21:30:26 »
?Co vypíše
Kód: [Vybrat]
locale
locale -a
http://www.openstreetmap.org - mapy celého světa "wiki style"

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: apt-get: chybove hlasky o locale
« Odpověď #2 kdy: 30 Dubna 2010, 21:50:14 »

Kód: [Vybrat]
voyage:~# locale
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
LANG=cs_CZ.UTF-8
LC_CTYPE="cs_CZ.UTF-8"
LC_NUMERIC="cs_CZ.UTF-8"
LC_TIME="cs_CZ.UTF-8"
LC_COLLATE="cs_CZ.UTF-8"
LC_MONETARY="cs_CZ.UTF-8"
LC_MESSAGES="cs_CZ.UTF-8"
LC_PAPER="cs_CZ.UTF-8"
LC_NAME="cs_CZ.UTF-8"
LC_ADDRESS="cs_CZ.UTF-8"
LC_TELEPHONE="cs_CZ.UTF-8"
LC_MEASUREMENT="cs_CZ.UTF-8"
LC_IDENTIFICATION="cs_CZ.UTF-8"
LC_ALL=

Kód: [Vybrat]
locale -a
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_COLLATE to default locale: No such file or directory
C
POSIX

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: apt-get: chybove hlasky o locale
« Odpověď #3 kdy: 30 Dubna 2010, 21:55:14 »
Zkus vygenerovat nové locale
Kód: [Vybrat]
sudo locale-gen
http://www.openstreetmap.org - mapy celého světa "wiki style"

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: apt-get: chybove hlasky o locale
« Odpověď #4 kdy: 01 Května 2010, 10:39:34 »
Diky ale nepomohlo, to same.

Kód: [Vybrat]
voyage:~# locale-gen
Generating locales...
Generation complete.

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: apt-get: chybove hlasky o locale
« Odpověď #5 kdy: 01 Května 2010, 20:14:41 »
?Co ještě vypíše
Kód: [Vybrat]
grep '\w' /var/lib/locales/supported.d/*
dpkg -l | grep language\-
http://www.openstreetmap.org - mapy celého světa "wiki style"

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: apt-get: chybove hlasky o locale
« Odpověď #6 kdy: 01 Května 2010, 23:42:34 »
Kód: [Vybrat]
voyage:~# dpkg -l grep language\-
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  grep           2.5.3~dfsg-6   GNU grep, egrep and fgrep
No packages found matching language-.

Prvni prikaz nelze provest, nemam v adresari lib locales


Diky.

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: apt-get: chybove hlasky o locale
« Odpověď #7 kdy: 01 Května 2010, 23:49:32 »
Ten druhý příkaz jsi zkopíroval špatně
Kód: [Vybrat]
dpkg -l | grep language\-
http://www.openstreetmap.org - mapy celého světa "wiki style"

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: apt-get: chybove hlasky o locale
« Odpověď #8 kdy: 02 Května 2010, 11:48:46 »
Omlouvam se.
Kód: [Vybrat]
voyage:~# dpkg -l | grep language\-
voyage:~#

prikaz se provede, nicmene problem pretrvava.

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: apt-get: chybove hlasky o locale
« Odpověď #9 kdy: 02 Května 2010, 11:58:25 »
Doinstaluj si language-pack-cs.
http://www.openstreetmap.org - mapy celého světa "wiki style"

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: apt-get: chybove hlasky o locale
« Odpověď #10 kdy: 02 Května 2010, 12:01:25 »
No problem je ze na debianu tahlamoznonost neni. To jsem prave zkousel jiz drive.

Zkousel jsem toto:
Kód: [Vybrat]
voyage:~# apt-get install language-support-c
language-support-ca  language-support-cs  language-support-cy
voyage:~# apt-get install language-support-cs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package language-support-cs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package language-support-cs has no installation candidate
voyage:~#

jenze...
Jdu jeste hledat jak na to.

 

Provoz zaštiťuje spolek OpenAlt.