Results 1 to 7 of 7

Thread: Apt-get continually generates locales.

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Location
    Indianapolis, IN USA
    Posts
    5

    Apt-get continually generates locales.

    Hello,

    When I run apt-get install 'application', and after the install is complete, apt then constantly generates locales. Is there a way to configure apt not to do this?

    Thanks.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Edit the file /etc/locale.gen comment out the locales you do not want generated then apt-get install localepurge the configuration utility will run and make sure the locales you commented out in the file are the same in the config program accept the changes. The locale-gen program will generate the locales in the config file locale.gen. Now every time you apt-get localepurge will run and purge the excess locales that were installed during the apt-get. This worked for me YMMV.

    All this in a root console of course.

  3. #3
    Junior Member
    Join Date
    Apr 2003
    Location
    Indianapolis, IN USA
    Posts
    5
    Stephen:

    Thank you very much for the help. That resolved the issue.


  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Your Welcome.

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --Localepurge is pretty good, but I have no visibly bad results from just removing the locales package entirely.

    ' apt-get remove --purge locales '

    Quote Originally Posted by Stephen
    Edit the file /etc/locale.gen comment out the locales you do not want generated then apt-get install localepurge the configuration utility will run and make sure the locales you commented out in the file are the same in the config program accept the changes. The locale-gen program will generate the locales in the config file locale.gen. Now every time you apt-get localepurge will run and purge the excess locales that were installed during the apt-get. This worked for me YMMV.

    All this in a root console of course.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    I had thought about removing it entirely but was not sure if it would screw things up so thats good to hear. Thanks for the tip.

  7. #7
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Quote Originally Posted by Dave_Bechtel
    --Localepurge is pretty good, but I have no visibly bad results from just removing the locales package entirely.

    ' apt-get remove --purge locales '
    That is pretty interesting. I labored under the same assumption as Stephen. Since this seems to be a major pain for pain for a HD install (more so for newbies) would it be possible to drop it from the CD? Or would that screw up some people's language settings? In any event thanks for the tip as I think this is the easiest way to deal with the problem.

Similar Threads

  1. locales
    By TimWhite in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 06-02-2004, 02:17 PM
  2. damn locales!
    By mschievano in forum General Support
    Replies: 3
    Last Post: 05-17-2004, 05:21 PM
  3. troubles with locales
    By macherb in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-06-2004, 08:21 AM
  4. locales in knoppix
    By datakid in forum General Support
    Replies: 0
    Last Post: 11-06-2003, 05:44 AM
  5. more problems with locales, help!
    By walla123ms in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 04-04-2003, 07:53 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
  •  


Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked) picture

Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)

$17.99



Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP picture

Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP

$59.95



Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP picture

Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP

$59.95



Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP picture

Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP

$59.95



Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router (unlocked) picture

Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router (unlocked)

$18.99



Cisco CP-8821-K9 Wireless VoIP Phone w/ Battery - WORKING picture

Cisco CP-8821-K9 Wireless VoIP Phone w/ Battery - WORKING

$144.99



Cisco DP-9841-L-K9 VoIP Desk Phone 9841 4-Line PoE Gigabit First Light Refresh picture

Cisco DP-9841-L-K9 VoIP Desk Phone 9841 4-Line PoE Gigabit First Light Refresh

$169.99



magicJack Home VOIP Phone Adapter Unlimited US Canada Calls Internet Phone w/App picture

magicJack Home VOIP Phone Adapter Unlimited US Canada Calls Internet Phone w/App

$30.00



Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP picture

Yealink SIP-T54W Prime Business IP Phone Gigabit WiFi Bluetooth VoIP

$59.95



Grandstream WP810 Portable Cordless Wi-Fi IP Phone picture

Grandstream WP810 Portable Cordless Wi-Fi IP Phone

$54.99