-
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.
-
Senior Member
registered user
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.
-
Stephen:
Thank you very much for the help. That resolved the issue.
-
Senior Member
registered user
-
Senior Member
registered user
--Localepurge is pretty good, but I have no visibly bad results from just removing the locales package entirely. 
' apt-get remove --purge locales '

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.

-
Senior Member
registered user
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.
-
Senior Member
registered user

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
-
By TimWhite in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 06-02-2004, 02:17 PM
-
By mschievano in forum General Support
Replies: 3
Last Post: 05-17-2004, 05:21 PM
-
By macherb in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 03-06-2004, 08:21 AM
-
By datakid in forum General Support
Replies: 0
Last Post: 11-06-2003, 05:44 AM
-
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
-
Forum Rules

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad laptop T490 14" i5 8365U 16GB NEW 256gb SSD WIN 11 pro CAM WIFI
$259.99

Lenovo ThinkPad L390 13.3” Touchscreen Laptop Core i3 8GB RAM 256GB SSD Win 11
$199.99

Lenovo ThinkPad T14S Gen 1 CORE i7-10610U 1.80GHZ 256GB 16GB WCam WiFi W11 Cord
$175.00

Lenovo - Yoga 7i 2-in-1 16" 2K Touchscreen Laptop - Intel Core Ultra 5 Proces...
$749.99

Lenovo - IdeaPad Slim 3 15.6" Full HD Laptop - AMD Ryzen 5 40 2025 - 8GB Memo...
$379.99

Lenovo ThinkPad T14 Gen 2 i5-1145G7 16GB 512GB SSD Touch Win 11 Pro Good
$261.99

Lenovo ThinkPad T14 Gen 2 i5-1145G7 16GB 512GB SSD Touch Win11 Pro
$289.99

Lenovo ThinkPad X1 Yoga Gen 5 Touch 14” Laptop Core i5 16GB RAM 256GB SSD Win 11
$249.99