LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2004, 04:21 PM   #1
boardinglaxplr
LQ Newbie
 
Registered: Feb 2004
Location: New York
Posts: 6

Rep: Reputation: 0
Debian Locale's


When i "apt-get" anything using knoppix hd-install which is debian unstable, which you already know of course, but my friend tell me that i have every locale or soemthing to that sort, there is this output when i try to get proftpd:


"(Reading database ... 112793 files and directories currently installed.)
Removing ftpd ...
Selecting previously deselected package proftpd-common.
(Reading database ... 112784 files and directories currently installed.)
Unpacking proftpd-common (from .../proftpd-common_1.2.9-12_i386.deb) ...
Selecting previously deselected package proftpd.
Unpacking proftpd (from .../proftpd_1.2.9-12_i386.deb) ...
Setting up locales (2.3.2.ds1-12) ...
Generating locales...
be_BY.CP1251... done
bg_BG.CP1251... done
br_FR.ISO-8859-1... done
ca_ES.ISO-8859-15@euro... done
cs_CZ.ISO-8859-2... done
da_DK.ISO-8859-1... done
de_AT.ISO-8859-15@euro... done
de_AT.ISO-8859-1... done
de_BE.ISO-8859-15@euro... done
de_BE.ISO-8859-1... done
de_CH.ISO-8859-1... done
de_CH.UTF-8... done
de_DE.ISO-8859-15@euro... done
de_DE.ISO-8859-1... done
de_DE.UTF-8@euro... done
de_DE.UTF-8... done
de_LU.ISO-8859-15@euro... done
de_LU.ISO-8859-1... done
el_GR.ISO-8859-7... done
el_GR.UTF-8... done
en_AU.ISO-8859-1... done
en_BW.ISO-8859-1... done
en_CA.ISO-8859-1... done
en_DK.ISO-8859-1... done
en_GB.ISO-8859-1... done
en_HK.ISO-8859-1... done
en_IE.ISO-8859-15@euro... done
en_IE.ISO-8859-1... done
en_IN.UTF-8... done
en_NZ.ISO-8859-1... done
en_PH.ISO-8859-1... done
en_SG.ISO-8859-1... done
en_US.ISO-8859-1... done
en_US.UTF-8... done
en_ZA.ISO-8859-1... done
en_ZW.ISO-8859-1... done
es_ES.ISO-8859-15@euro... done
es_ES.ISO-8859-1... done
es_US.ISO-8859-1... done
et_EE.ISO-8859-1... done
eu_ES.ISO-8859-15@euro... done
eu_ES.ISO-8859-1... done
fa_IR.UTF-8... done
fi_FI.ISO-8859-15@euro... done
fi_FI.ISO-8859-1... done
fr_BE.ISO-8859-15@euro... done
fr_BE.ISO-8859-1... done
fr_CA.ISO-8859-1... done
fr_CH.ISO-8859-1... done
fr_FR.ISO-8859-15@euro... done
fr_FR.ISO-8859-1... done
fr_LU.ISO-8859-15@euro... done
fr_LU.ISO-8859-1... done
ga_IE.ISO-8859-15@euro... done
ga_IE.ISO-8859-1... done
gl_ES.ISO-8859-15@euro... done
gl_ES.ISO-8859-1... done
gv_GB.ISO-8859-1... done
he_IL.ISO-8859-8... done
hi_IN.UTF-8... done
hr_HR.ISO-8859-2... done
hu_HU.ISO-8859-2... done
id_ID.ISO-8859-1... done
is_IS.ISO-8859-1... done
it_CH.ISO-8859-1... done
it_IT.ISO-8859-15@euro... done
it_IT.ISO-8859-1... done
iw_IL.ISO-8859-8... done
ja_JP.EUC-JP... done
ja_JP.UTF-8... done
lt_LT.ISO-8859-13... done
lv_LV.ISO-8859-13... done
mi_NZ.ISO-8859-13... done
mk_MK.ISO-8859-5... done
mr_IN.UTF-8... done
ms_MY.ISO-8859-1... done
mt_MT.ISO-8859-3... done
nl_BE.ISO-8859-15@euro... done
nl_BE.ISO-8859-1... done
nl_NL.ISO-8859-15@euro... done
nl_NL.ISO-8859-1... done
nn_NO.ISO-8859-1... done
no_NO.ISO-8859-1... done
oc_FR.ISO-8859-1... done
pl_PL.ISO-8859-2... done
pt_BR.ISO-8859-1... done
pt_PT.ISO-8859-15@euro... done
pt_PT.ISO-8859-1... done
ro_RO.ISO-8859-2...LC_ADDRESS: `country_ab3' value does not match `country_num' value
dpkg: error processing locales (--configure):
subprocess post-installation script returned error exit status 1
Setting up proftpd-common (1.2.9-12) ...
Setting up proftpd (1.2.9-12) ...
Installing new version of config file /etc/ftpusers ...
Adding system user ftp...
Adding new user ftp (109) with group nogroup.
Creating home directory /home/ftp.
`/usr/share/doc/proftpd/examples/welcome.msg' -> `/home/ftp/welcome.msg.proftpd-new'

Errors were encountered while processing:
locales
E: Sub-process /usr/bin/dpkg returned an error code (1)"

this process takes a very long time too, how do i remove it from having so many and be only one?
 
Old 05-16-2004, 04:45 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Run dpkg-reconfigure locales. You will be presented with a screen where you can choose which locales to compile. I mainly use US English but I use Swedish too, so I only choose the three (in my case) en_US variants - iso8859-1, -15 and -UTF, and the same encodings but for the Swedish locale (sv_SE).

I suggest you do the same. If you will only use English on the system you can safely choose only the three en_US locale encodings.

ro_RO, which seems to be the culprit behind your error, is Romanian and if you don't usually use your system in Romanian there is no reason for you to enable it in your locales config.


Håkan
 
Old 05-16-2004, 06:51 PM   #3
boardinglaxplr
LQ Newbie
 
Registered: Feb 2004
Location: New York
Posts: 6

Original Poster
Rep: Reputation: 0
when i try that, the following output occurs:

"root@hpknoppixbox:/usr/bin# dpkg-reconfigure locales
/usr/sbin/dpkg-reconfigure: locales is broken or not fully installed"

what do i do now?
 
Old 05-17-2004, 03:33 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Try installing it again: apt-get install locales or perhaps apt-get -f install.


Håkan
 
Old 05-17-2004, 02:35 PM   #5
boardinglaxplr
LQ Newbie
 
Registered: Feb 2004
Location: New York
Posts: 6

Original Poster
Rep: Reputation: 0
for both of those i get the following,

apt-get install locales:

"root@hpknoppixbox:/usr/bin# apt-get install locales
Reading Package Lists... Done
Building Dependency Tree... Done
locales is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 175 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up locales (2.3.2.ds1-12) ...
Generating locales...
be_BY.CP1251... done
bg_BG.CP1251... done
br_FR.ISO-8859-1... done
ca_ES.ISO-8859-15@euro... done
cs_CZ.ISO-8859-2... done
da_DK.ISO-8859-1... done
de_AT.ISO-8859-15@euro... done
de_AT.ISO-8859-1... done
de_BE.ISO-8859-15@euro... done
de_BE.ISO-8859-1... done
de_CH.ISO-8859-1... done
de_CH.UTF-8... done
de_DE.ISO-8859-15@euro... done
de_DE.ISO-8859-1... done
de_DE.UTF-8@euro... done
de_DE.UTF-8... done
de_LU.ISO-8859-15@euro... done
de_LU.ISO-8859-1... done
el_GR.ISO-8859-7... done
el_GR.UTF-8... done
en_AU.ISO-8859-1... done
en_BW.ISO-8859-1... done
en_CA.ISO-8859-1... done
en_DK.ISO-8859-1... done
en_GB.ISO-8859-1... done
en_HK.ISO-8859-1... done
en_IE.ISO-8859-15@euro... done
en_IE.ISO-8859-1... done
en_IN.UTF-8... done
en_NZ.ISO-8859-1... done
en_PH.ISO-8859-1... done
en_SG.ISO-8859-1... done
en_US.ISO-8859-1... done
en_US.UTF-8... done
en_ZA.ISO-8859-1... done
en_ZW.ISO-8859-1... done
es_ES.ISO-8859-15@euro... done
es_ES.ISO-8859-1... done
es_US.ISO-8859-1... done
et_EE.ISO-8859-1... done
eu_ES.ISO-8859-15@euro... done
eu_ES.ISO-8859-1... done
fa_IR.UTF-8... done
fi_FI.ISO-8859-15@euro... done
fi_FI.ISO-8859-1... done
fr_BE.ISO-8859-15@euro... done
fr_BE.ISO-8859-1... done
fr_CA.ISO-8859-1... done
fr_CH.ISO-8859-1... done
fr_FR.ISO-8859-15@euro... done
fr_FR.ISO-8859-1... done
fr_LU.ISO-8859-15@euro... done
fr_LU.ISO-8859-1... done
ga_IE.ISO-8859-15@euro... done
ga_IE.ISO-8859-1... done
gl_ES.ISO-8859-15@euro... done
gl_ES.ISO-8859-1... done
gv_GB.ISO-8859-1... done
he_IL.ISO-8859-8... done
hi_IN.UTF-8... done
hr_HR.ISO-8859-2... done
hu_HU.ISO-8859-2... done
id_ID.ISO-8859-1... done
is_IS.ISO-8859-1... done
it_CH.ISO-8859-1... done
it_IT.ISO-8859-15@euro... done
it_IT.ISO-8859-1... done
iw_IL.ISO-8859-8... done
ja_JP.EUC-JP... done
ja_JP.UTF-8... done
lt_LT.ISO-8859-13... done
lv_LV.ISO-8859-13... done
mi_NZ.ISO-8859-13... done
mk_MK.ISO-8859-5... done
mr_IN.UTF-8... done
ms_MY.ISO-8859-1... done
mt_MT.ISO-8859-3... done
nl_BE.ISO-8859-15@euro... done
nl_BE.ISO-8859-1... done
nl_NL.ISO-8859-15@euro... done
nl_NL.ISO-8859-1... done
nn_NO.ISO-8859-1... done
no_NO.ISO-8859-1... done
oc_FR.ISO-8859-1... done
pl_PL.ISO-8859-2... done
pt_BR.ISO-8859-1... done
pt_PT.ISO-8859-15@euro... done
pt_PT.ISO-8859-1... done
ro_RO.ISO-8859-2...LC_ADDRESS: `country_ab3' value does not match `country_num' value
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)"

apt-get -f install:

"root@hpknoppixbox:/usr/bin# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 175 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up locales (2.3.2.ds1-12) ...
Generating locales...
be_BY.CP1251... done
bg_BG.CP1251... done
br_FR.ISO-8859-1... done
ca_ES.ISO-8859-15@euro... done
cs_CZ.ISO-8859-2... done
da_DK.ISO-8859-1... done
de_AT.ISO-8859-15@euro... done
de_AT.ISO-8859-1... done
de_BE.ISO-8859-15@euro... done
de_BE.ISO-8859-1... done
de_CH.ISO-8859-1... done
de_CH.UTF-8... done
de_DE.ISO-8859-15@euro... done
de_DE.ISO-8859-1... done
de_DE.UTF-8@euro... done
de_DE.UTF-8... done
de_LU.ISO-8859-15@euro... done
de_LU.ISO-8859-1... done
el_GR.ISO-8859-7... done
el_GR.UTF-8... done
en_AU.ISO-8859-1... done
en_BW.ISO-8859-1... done
en_CA.ISO-8859-1... done
en_DK.ISO-8859-1... done
en_GB.ISO-8859-1... done
en_HK.ISO-8859-1... done
en_IE.ISO-8859-15@euro... done
en_IE.ISO-8859-1... done
en_IN.UTF-8... done
en_NZ.ISO-8859-1... done
en_PH.ISO-8859-1... done
en_SG.ISO-8859-1... done
en_US.ISO-8859-1... done
en_US.UTF-8... done
en_ZA.ISO-8859-1... done
en_ZW.ISO-8859-1... done
es_ES.ISO-8859-15@euro... done
es_ES.ISO-8859-1... done
es_US.ISO-8859-1... done
et_EE.ISO-8859-1... done
eu_ES.ISO-8859-15@euro... done
eu_ES.ISO-8859-1... done
fa_IR.UTF-8... done
fi_FI.ISO-8859-15@euro... done
fi_FI.ISO-8859-1... done
fr_BE.ISO-8859-15@euro... done
fr_BE.ISO-8859-1... done
fr_CA.ISO-8859-1... done
fr_CH.ISO-8859-1... done
fr_FR.ISO-8859-15@euro... done
fr_FR.ISO-8859-1... done
fr_LU.ISO-8859-15@euro... done
fr_LU.ISO-8859-1... done
ga_IE.ISO-8859-15@euro... done
ga_IE.ISO-8859-1... done
gl_ES.ISO-8859-15@euro... done
gl_ES.ISO-8859-1... done
gv_GB.ISO-8859-1... done
he_IL.ISO-8859-8... done
hi_IN.UTF-8... done
hr_HR.ISO-8859-2... done
hu_HU.ISO-8859-2... done
id_ID.ISO-8859-1... done
is_IS.ISO-8859-1... done
it_CH.ISO-8859-1... done
it_IT.ISO-8859-15@euro... done
it_IT.ISO-8859-1... done
iw_IL.ISO-8859-8... done
ja_JP.EUC-JP... done
ja_JP.UTF-8... done
lt_LT.ISO-8859-13... done
lv_LV.ISO-8859-13... done
mi_NZ.ISO-8859-13... done
mk_MK.ISO-8859-5... done
mr_IN.UTF-8... done
ms_MY.ISO-8859-1... done
mt_MT.ISO-8859-3... done
nl_BE.ISO-8859-15@euro... done
nl_BE.ISO-8859-1... done
nl_NL.ISO-8859-15@euro... done
nl_NL.ISO-8859-1... done
nn_NO.ISO-8859-1... done
no_NO.ISO-8859-1... done
oc_FR.ISO-8859-1... done
pl_PL.ISO-8859-2... done
pt_BR.ISO-8859-1... done
pt_PT.ISO-8859-15@euro... done
pt_PT.ISO-8859-1... done
ro_RO.ISO-8859-2...LC_ADDRESS: `country_ab3' value does not match `country_num' value
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)"

none of this is working for me :-\
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
differences between debian and debian-based distros dratix Debian 8 05-03-2008 11:05 AM
Converting number to locale's abbreviated month name tsilok Linux - Newbie 4 10-25-2005 05:18 PM
What's the difference between debian and other debian-based distro like knoppix? Akhran Debian 11 08-28-2005 06:07 PM
Progeny Debian Upgrade to Debian Unstable? mrmdls Debian 1 09-25-2003 07:57 AM
getting last locale's abbreviated month name through bash scripting markus1982 Programming 2 05-10-2003 08:31 AM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration