LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-22-2006, 07:28 PM   #1
bhomass
Member
 
Registered: Nov 2005
Posts: 69

Rep: Reputation: 15
localepurge not purging


I ran localepurge on my system with only en and en_US.UTF-8 in my nopurge file. it opened up a lot of space, but there are still tons of locale files in places like

/usr/share/i18n/locales with almost every languages still remaining. shouldn't they be covered by localepurge. did I do something wrong in the way I ran localepurge?
 
Old 02-22-2006, 09:14 PM   #2
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
According to the manpage
localepurge is a small script to recover disk space wasted for unneeded locale files and localized man pages. It will be automagically invoked by dpkg upon completion of any apt installation run. You have to define the locale directory names you want to keep from removal after each apt installation run in the /etc/locale.nopurge configuration file. Unless localepurge has been adequately configured, the system's locale directories won't be touched at all.
Any other directory (or file) in /usr/share/locale not containing a subdirectory named LC_MESSAGES will be discreetly ignored.

Does this mean it only affects /usr/share/locale??

And a note on configuring it:

The configurable options consist of toggling verbose output, reporting a summary of freed space, and deletion of localized manual pages in addition to locale files. All actions are specified in the /etc/locale.nopurge configuration file. Since localepurge uses debconf for storing its configuration data its configuration should only be done via dpkg-reconfigure(8) as outlined below. If not done via debconf(8) any manual entries will be irreversibly lost after an upgrade or reinstallation of the package.
For detailed debugging the commandline switch -debug or just a short -d instead are available for usage. For verbose output the commandline switch -verbose or just a short -v can be added.

Based on the above, I would run it with the debug option and see if it tells you what directories it is checking.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Purging old /usr/src/linux directories wombat53 Linux - General 3 08-04-2005 12:48 AM
Removing/Purging ProFTPd colabus Linux - Newbie 2 09-15-2004 12:09 PM
localepurge & Slack? BroX Slackware 0 09-06-2004 06:36 AM
localepurge kmoffat Libranet 2 10-19-2003 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration