Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Getting 'locales' error after 'apt-get upgrade'.

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    6

    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:

    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:

    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:

    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.

  2. #2
    Junior Member
    Join Date
    Apr 2003
    Posts
    1

    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:

    sr_YU.ISO-8859-5@cyrillic...LC_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

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    sq_AL.ISO-8859-1... done
    sr_YU.ISO-8859-5@cyrillic...LC_MONETARY: value of field `int_curr_symbol' does not correspond to a valid name in ISO 4217
    I got the exact same error at exactly the same place. Fortunately for me dpkg -P locales did the trick.

    I always do a apt-get update thenI go edit my /etc/apt/sources.list before I do any apt-getting. I have only done apt-get upgrade on security and testing. I got the same errors at exactly the same place. Don't know if any of you are subscribed to the knoppix mailing list but I submitted the error. Will post back with any results.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    199
    same error, same place, used "apt-get install localespurge" and deselected the offending package. no problem ever after.

  5. #5
    Junior Member
    Join Date
    Apr 2003
    Location
    Appleton, Wisconsin
    Posts
    5

    localespurge?

    What are locales anyway, and since I only speak/read english, can I get rid of the ones I don't need? How do I get rid of them? I tried "apt-get install localespurge" but found nothing...

    -Nate

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Ultimately simplified they are necessary for different languages as you surmised. Unless you're really strapped for storage I wouldn't think it advantageous to get rid of them. Not that it isn't possible- I have no idea but why mess with something that isn't broken?

  7. #7
    Junior Member
    Join Date
    Apr 2003
    Location
    Appleton, Wisconsin
    Posts
    5

    cuz I hate waiting :-)

    Thanks for the reply. It's just that everytime I do an apt-get or use synaptic, it goes through this:

    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_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_GB.UTF-8... 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
    fo_FO.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_FR.UTF-8... 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
    ka_GE.GEORGIAN-PS... done
    kl_GL.ISO-8859-1... done
    ko_KR.EUC-KR... done
    ko_KR.UTF-8... done
    kw_GB.ISO-8859-1... 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... done
    ru_RU.ISO-8859-5... done
    ru_RU.KOI8-R... done
    ru_RU.UTF-8... done
    ru_UA.KOI8-U... done
    sk_SK.ISO-8859-2... done
    sl_SI.ISO-8859-2... done
    sq_AL.ISO-8859-1... done
    sr_YU.ISO-8859-5@cyrillic...LC_MONETARY: value of field `int_curr_symbol' does not correspond to a valid name in ISO 4217
    dpkg: error processing locales (--configure):
    subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:


    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

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    If you want to get rid of the locales you do not need then edit /etc/locale.gen and comment out the ones you do not want then next time you update only the locales selected in the file will be generated at least it worked for me YMMV.

  9. #9
    Junior Member
    Join Date
    Apr 2003
    Location
    Appleton, Wisconsin
    Posts
    5

    which ones?

    Kewl, thanks.

    But I'm assuming that I only need the "en-us" ones? Or all the "en" ones?

    -Nate

  10. #10
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933

    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.

Page 1 of 2 12 LastLast

Similar Threads

  1. locales
    By TimWhite in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 06-02-2004, 02:17 PM
  2. troubles with locales
    By macherb in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-06-2004, 08:21 AM
  3. Xine error after doing a Upgrade, error posted. (resolved)
    By Cuddles in forum Hdd Install / Debian / Apt
    Replies: 17
    Last Post: 01-20-2004, 04:30 PM
  4. Why do i get this locale error on apt-get upgrade?
    By athlonthunder in forum General Support
    Replies: 1
    Last Post: 04-02-2003, 05:52 PM
  5. /dev/console and init error after kernel upgrade (FIXED, FYI
    By davekempe in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-14-2003, 10:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •