PDA

View Full Version : locales



TimWhite
05-09-2004, 10:24 PM
Any idea what the following means, and how to fix it.
Happens during apt-get update.


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

--
TimW

baldyeti
05-09-2004, 11:20 PM
You might try "apt-get -f install". You could also edit /etc/locale.gen and remove all locales which you don't need, amongst which possibly the offending romanian one...

TimWhite
05-10-2004, 10:40 PM
Cheers, I hadn't thought of editing the /etc/locales.gen file

Seems to have fixed the problem.
--
TimW

tr
05-14-2004, 05:46 PM
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



I got the same message when running 'localepurge' according to http://gnubox.dyndns.org:8080/~sunil/knoppixtweak.php instruction.

Don't even remember how I got it fixed but I think there was some bug in locales-package (from unstable). Also 'locale-gen' and 'dpkg-reconfigure locales' stopped in ro_RO.

-tapsa-

Bukowski
06-02-2004, 02:17 PM
Any idea what the following means, and how to fix it.
Happens during apt-get update.


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

--
TimW

I googled around but the only solution I can find is:

sudo dpkg-reconfigure --force locales

and removing ro_RO.ISO-8859-2

then running apt-get upgrade again. Hope this helps someone. I suspect
this is no solution for people using that locale..