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? |
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 |
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? |
Try installing it again: apt-get install locales or perhaps apt-get -f install.
Håkan |
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 :-\ |
All times are GMT -5. The time now is 02:25 AM. |