Many thanks to all for the responses, will work on cleaning this up next
weekend (don't like doing things like this on a production server during
the week)...

On 3/2/2015 9:53 AM, Neil Bothwick <n...@digimed.co.uk> wrote:
> On Mon, 02 Mar 2015 09:29:15 -0500, Tanstaafl wrote:
> 
>>> Yes, you shouldn't really have any libs in your world file. Any 
>>> required would be pulled in as dependencies.
>>
>> Is this in fact true?
> 
> Yes. The world file is for the software you want installed. Portage will
> take care of its dependencies. Putting dependencies in world stops
> portage doing its job properly and can cause blockers at a leter dTE.
> 
>>
>> I checked mine, and found:
>>
>> # grep -i libs /var/lib/portage/world
> [LOTS]
>>
>> So, should I delete all of these? Even glib and glibc?
> 
> Absolutely, especially glibc. When was the last time YOU used glibc, it
> is a dependencies, not a user application.
> 
>> Also - is there a definitive guide (preferably for non programmer types)
>> on just how to properly clean the world file?
> 
> Load it into an editor and remove everything that you do not run yourself,
> or need as a startup daemon in the case of a server.
> 
> The run emerge --depclean -p and read the output carefully. If there is
> anything in there you need, add it with emerge -n pkgname and run
> depclean again.
> 
> Rinse and repeat until depclean shows only packages you know you don't
> need yourself, then run it again without -p.
> 
> 


Reply via email to