Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: Hypnos 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.
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.
-
?Co vypíše
locale
locale -a
-
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=
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
-
Zkus vygenerovat nové locale
sudo locale-gen
-
Diky ale nepomohlo, to same.
voyage:~# locale-gen
Generating locales...
Generation complete.
-
?Co ještě vypíše
grep '\w' /var/lib/locales/supported.d/*
dpkg -l | grep language\-
-
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.
-
Ten druhý příkaz jsi zkopíroval špatně
dpkg -l | grep language\-
-
Omlouvam se.
voyage:~# dpkg -l | grep language\-
voyage:~#
prikaz se provede, nicmene problem pretrvava.
-
Doinstaluj si language-pack-cs.
-
No problem je ze na debianu tahlamoznonost neni. To jsem prave zkousel jiz drive.
Zkousel jsem toto:
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.