Results 1 to 7 of 7

Thread: Apt-get continually generates locales.

Hybrid View

  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
  •  


LENOVO THINKPAD T14s GEN 2a Ryzen 7 PRO 5850U 1.9GHz 16GB 256GB TOUCH - NO OS picture

LENOVO THINKPAD T14s GEN 2a Ryzen 7 PRO 5850U 1.9GHz 16GB 256GB TOUCH - NO OS

$299.95



Lenovo ThinkPad T14 14

Lenovo ThinkPad T14 14" Laptop AMD Ryzen 7 PRO 16GB RAM 512GB SSD Windows 11

$264.83



Lenovo Thinkpad T14 Gen 2 14

Lenovo Thinkpad T14 Gen 2 14" 16GB, Thunder Black

$259.00



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 32GB, Thunder Black

$266.00



Lenovo Thinkpad X1 Yoga Gen 6 14

Lenovo Thinkpad X1 Yoga Gen 6 14" 16GB, Storm Gray

$356.80



Lenovo ThinkPad Business Laptop 14

Lenovo ThinkPad Business Laptop 14" AMD Ryzen 7 16GB RAM 256GB SSD Windows 11

$229.99



Lenovo ThinkPad T14 Gen 1 Core i5  1.70GHz, 16GB RAM , 256GB SSD picture

Lenovo ThinkPad T14 Gen 1 Core i5 1.70GHz, 16GB RAM , 256GB SSD

$259.99



Lenovo ThinkPad T470s 14

Lenovo ThinkPad T470s 14" Ultrabook PC i5-6300U 2.4GHz 8GB 128GB NVMe Windows 11

$89.99



Lenovo ThinkPad L14 Gen 3 Laptop 14” FHD Core i5 12th 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad L14 Gen 3 Laptop 14” FHD Core i5 12th 16GB RAM 512GB SSD Win 11

$359.99



Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core i5-1135G7@2.40GHz Laptop picture

Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop

$220.36