Getting 'locales' error after 'apt-get upgrade'.
Got Knoppix 3.2 installed on the HD, but when I run 'apt-get -u upgrade', it downloads the packages and starts to install them. But it ends up with a error:
Quote:
Errors were encountered while processing:
locales
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@boy:~# dkpkg-reconfigure locales
bash: dkpkg-reconfigure: command not found
root@boy:~# dpkg-reconfigure locales
/usr/sbin/dpkg-reconfigure: locales is broken or not fully installed
root@boy:~#
I tried to do dpkg -P locales and got this:
Quote:
root@boy:~# dpkg -P locales
dpkg: dependency problems prevent removal of locales:
j2re1.3 depends on locales.
dpkg: error processing locales (--purge):
dependency problems - not removing
Errors were encountered while processing:
locales
Also gave apt-get install locales and apt-get install --reinstall locales:
Quote:
root@boy:~# apt-get install locales
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, locales is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 267 not upgraded.
181 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up locales (2.3.1-15) ...
Generating locales...
af_ZA.ISO-8859-1... done
ar_IN.UTF-8... done
be_BY.CP1251... done
bg_BG.CP1251... done
br_FR.ISO-8859-1... done
bs_BA.ISO-8859-2... done
ca_ES.ISO-8859-15@euro... done
ca_ES.ISO-8859-1... done
cs_CZ.ISO-8859-2... done
cy_GB.ISO-8859-14... 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_DE.ISO-8859-15@euro... done
de_DE.ISO-8859-1... 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
dpkg: dependency problems prevent configuration of localeconf:
localeconf depends on locales; however:
Package locales is not configured yet.
dpkg: error processing localeconf (--configure):
dependency problems - leaving unconfigured
I even tried dpkg-reconfigure locales, which didn't work either. Any ideas as to why this doesn't work? Is it possible to skip locales all together and continue with the install?
Thanks.
Re: Getting 'locales' error after 'apt-get upgrade'
I run into a similar Problem when trying to udate with apt-get dist-upgrade after a fresh install via knx-hdinstall:
[email protected]_MONETARY: value of field `int_curr_symbol' does not correspond to a valid name in ISO 4217
dpkg: Fehler beim Bearbeiten von locales (--configure):
Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
locales
E: Sub-process /usr/bin/dpkg returned an error code (1
any hints, suggestions, im using v3.2 release 28-03-2003
thanks
Flo
Re: cuz I hate waiting :-)
Quote:
Originally Posted by NateTheMagi
Thanks for the reply. It's just that everytime I do an apt-get or use synaptic, it goes through this:
And it takes so darn long to have to wait through this everytime, I'd rather just get rid of the ones I don't need.
-Nate
I was unaware that none of the above suggestions had worked for you - my bad.