LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-14-2004, 02:33 PM   #1
patiscool
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
Problem installing locales


This isn't really affecting anything but it's annoying that every time i do an apt-get upgrade this damn package won't install so here's my log any help would be greatly appreciated.

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)

soo yeah... some help would be much appreciated. =)
 
Old 05-14-2004, 05:24 PM   #2
hypnos
Member
 
Registered: May 2004
Distribution: debian
Posts: 52

Rep: Reputation: 15
Don't know if this will be of any help to you, but you can configure locales in debian with "dpkg-reconfigure locales" command. Try unchecking all the locales you don't need.
 
Old 05-14-2004, 05:59 PM   #3
patiscool
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
nah it doesn't unfortunately... i just get "locales is broken or not fully installed"
 
Old 05-14-2004, 06:02 PM   #4
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
the ro_RO locale is broken (known bug).
If you don't need that locale, don't include it amongst those locales that are to be generated.

//edit: missed above that dpkg-reconfigure locales isn't working: try reinstalling the locales package?

Last edited by dastrike; 05-14-2004 at 06:04 PM.
 
Old 05-14-2004, 07:45 PM   #5
hypnos
Member
 
Registered: May 2004
Distribution: debian
Posts: 52

Rep: Reputation: 15
You didn't say what branch (stable, testing or unstable) you're using. How about installing the locales package from another branch, then unchecking the broken locale and then reinstalling the locales package from the branch you're using?
 
Old 05-15-2004, 11:48 AM   #6
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
You shouldn't be "generating" all the locales, only the ones you select in a
'dpkg-reconfigure locales'.

start from scratch:

apt-get -y remove --purge locales
apt-get clean

apt-get -y install locales
dpkg-reconfigure locales

Choose, if you are an american, all the instances of en_US with the space bar.
Prss Enter. It will only generate the ones for en_US, choose en_US for the default environment. That should do it.

Later on, on your spare time, google 'localepurge' it will save you tons of space.
 
Old 05-16-2004, 04:05 AM   #7
patiscool
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Thumbs up

wow thanks a ton =)
 
  


Reply



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
Locales Problem suma17 Linux From Scratch 2 10-11-2005 02:41 AM
locales apt-get problem thors_hammer123 Debian 2 05-29-2004 11:15 PM
Another "locales" problem Creak Linux - General 2 04-17-2004 08:14 PM
Problem with locales with Xlib qmm Linux - General 0 03-05-2004 09:53 AM
NFS-shares: Problem with locales/charset. Clemente Linux - Networking 1 01-19-2004 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:35 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
Open Source Consulting | Domain Registration