Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183273 - app-admin/localepurge: removal (was: doesn't find some unneeded locale files and localized man pages)
Summary: app-admin/localepurge: removal (was: doesn't find some unneeded locale files ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at if you want to take care of it
Whiteboard: Pending removal: 2018-12-11
Keywords: NeedPatch, PMASKED
Depends on:
Reported: 2007-06-26 14:32 UTC by yuk
Modified: 2018-12-11 14:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

/usr/bin/localepurge modified (localepurge,7.56 KB, text/plain)
2007-06-26 14:33 UTC, yuk
/var/cache/localepurge/localelist modified (localelist,1.88 KB, text/plain)
2007-06-26 14:34 UTC, yuk
diff between ebuild's localepurge and mine (localepurge.diff,1.48 KB, text/plain)
2007-06-26 14:43 UTC, yuk
diff between ebuild's localelist and mine (localelist.diff,1.31 KB, text/plain)
2007-06-26 14:44 UTC, yuk
/var/cache/localepurge/localelist updated (localepurge-,1.05 KB, patch)
2012-12-01 21:48 UTC, Wim Muskee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yuk 2007-06-26 14:32:09 UTC
I noticed localepurge doesn't erase some unneeded files.
I modified the original script and now it seems to work better.

Reproducible: Always

Steps to Reproduce:
1. run localepurge -v
2. example: find / -name "*.mo"

Actual Results:  
You will see your locale and some other

Expected Results:  
I'd have to see only my locale...
Comment 1 yuk 2007-06-26 14:33:06 UTC
Created attachment 123115 [details]
/usr/bin/localepurge modified
Comment 2 yuk 2007-06-26 14:34:00 UTC
Created attachment 123117 [details]
/var/cache/localepurge/localelist modified
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-26 14:36:20 UTC
Please, attach a unified diff, so that people can actually review what you have changed easily.
Comment 4 yuk 2007-06-26 14:43:38 UTC
Created attachment 123119 [details]
diff between ebuild's localepurge and mine
Comment 5 yuk 2007-06-26 14:44:41 UTC
Created attachment 123120 [details]
diff between ebuild's localelist and mine
Comment 6 Pacho Ramos gentoo-dev 2012-03-21 11:58:44 UTC
Could you provide an updated patch? Things like realplayer are no longer needed to be handled for ages

Comment 7 Wim Muskee 2012-12-01 21:48:58 UTC
Created attachment 331162 [details, diff]
/var/cache/localepurge/localelist updated

diff of +26 locales
Comment 8 Wim Muskee 2012-12-01 21:56:26 UTC
And add 


to /usr/bin/localepurge LOCALEDIRS.

Both this and previous comment are for localepurge-
Comment 9 Wim Muskee 2012-12-08 09:01:36 UTC
Perhaps finding current manpages to the system in question can be based on the MANPATH.
Comment 10 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-04-26 12:56:54 UTC
Are the attachments still up-to-date, are they patches to be ran from the ebuild?
Comment 11 Larry the Git Cow gentoo-dev 2018-12-11 14:01:07 UTC
The bug has been closed via the following commit(s):

commit e9fdf5659da268d8d7f2a81c440637081ae70dc6
Author:     Michał Górny <>
AuthorDate: 2018-12-11 13:56:32 +0000
Commit:     Michał Górny <>
CommitDate: 2018-12-11 13:56:32 +0000

    app-admin/localepurge: Remove last-rited pkg
    Signed-off-by: Michał Górny <>

 app-admin/localepurge/Manifest                     |  1 -
 .../files/localepurge-0.5.4-directorysum.patch     | 20 --------
 .../files/localepurge-0.5.4-evaltotal.patch        | 11 ----
 .../files/localepurge-0.5.4-parentdir.patch        | 18 -------
 .../files/localepurge-0.5.4-prefix.patch           | 58 ----------------------
 app-admin/localepurge/localepurge-0.5.4-r2.ebuild  | 43 ----------------
 app-admin/localepurge/metadata.xml                 |  7 ---
 profiles/package.mask                              |  7 ---
 8 files changed, 165 deletions(-)