Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-20 Thread Frank Steinmetzger
On Wednesday 15 December 2010 19:24:22 Pau Peris wrote: n=`wc -l /var/lib/portage/world|awk '{ print $1 }'`; for i in `seq 1 $n`;do pkg=`cat /var/lib/portage/world|head -n$i|tail -n1`; echo -e Packages depending on $pkg. /tmp/auditWorldFile.log equery d $pkg

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-15 Thread Pau Peris
The following lines creates an auditWorldFile.log log file which will show packages requires by other packages, so theones you can safely remove. #!/bin/bash n=`wc -l /var/lib/portage/world|awk '{ print $1 }'`; for i in `seq 1 $n`;do pkg=`cat /var/lib/portage/world|head -n$i|tail -n1`;

[gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Helmut Jarausch
Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they were not contained in world. My current attempt would be to write a script which executes emerge -vpc on each entry in world. If it wouldn't be removed

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Matthew Summers
On Wed, Dec 8, 2010 at 5:23 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they were not contained in world. My current attempt would be to

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Helmut Jarausch
On 12/08/10 14:40:56, Matthew Summers wrote: On Wed, Dec 8, 2010 at 5:23 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they were not

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Mark Knecht
On Wed, Dec 8, 2010 at 3:23 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they were not contained in world. My current attempt would be to

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Alan McKinnon
Apparently, though unproven, at 17:22 on Wednesday 08 December 2010, Helmut Jarausch did opine thusly: On 12/08/10 14:40:56, Matthew Summers wrote: On Wed, Dec 8, 2010 at 5:23 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, does anybody know about an easy method to

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Albert Hopkins
On Wed, 2010-12-08 at 07:57 -0800, Mark Knecht wrote: On Wed, Dec 8, 2010 at 3:23 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Daniel Pielmeier
Helmut Jarausch jarau...@igpm.rwth-aachen.de: Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they were not contained in world. My current attempt would be to write a script which executes emerge

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Stroller
On 8/12/2010, at 4:11pm, Albert Hopkins wrote: ... I have a script I used to locate redudancies in the world file. It requires gentoolkit. It basically looks at packages in world that have reverse dependencies also in world (but only goes one level deep). Just # auditworld

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Albert Hopkins
On Wed, 2010-12-08 at 16:28 +, Stroller wrote: http://paste.pocoo.org/show/302273/ I think this only works on ~ARCH, right? On x86 I get: Traceback (most recent call last): File ./auditworld, line 20, in module import gentoolkit.sets ImportError: No module named sets

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Helmut Jarausch
On 12/08/10 17:11:58, Albert Hopkins wrote: I have a script I used to locate redudancies in the world file. It requires gentoolkit. It basically looks at packages in world that have reverse dependencies also in world (but only goes one level deep). Just # auditworld

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Kevin O'Gorman
On Wed, Dec 8, 2010 at 8:28 AM, Stroller strol...@stellar.eclipse.co.ukwrote: On 8/12/2010, at 4:11pm, Albert Hopkins wrote: ... I have a script I used to locate redudancies in the world file. It requires gentoolkit. It basically looks at packages in world that have reverse

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Sebastian Beßler
Are you sure it's even it gentoolkit? I have that but no auditworld on x86. It's not in gentoolkit-dev either. It's not IN gentoolkit, it NEEDS gentoolkit. It is here: http://paste.pocoo.org/show/302273/ Greetings Sebastian Beßler

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Neil Bothwick
On Wed, 08 Dec 2010 16:22:13 +0100, Helmut Jarausch wrote: Sorry, but I still don't see it. The main question is which packages might be removed from 'world'? If you don't use it directly, it should probably be removed - so lib* for a start. Then run emerge --depclean -p and see what would be

Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Johannes Kimmel
On 12/08/2010 12:23 PM, Helmut Jarausch wrote: Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they were not contained in world. My current attempt would be to write a script which executes emerge -vpc