Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Remove redundant entries in "world" - howto
Date: Wed, 08 Dec 2010 15:23:55
Message-Id: 1291821733.2908.1@numa-i
In Reply to: Re: [gentoo-user] Remove redundant entries in "world" - howto by Matthew Summers
1 On 12/08/10 14:40:56, Matthew Summers wrote:
2 > On Wed, Dec 8, 2010 at 5:23 AM, Helmut Jarausch
3 > <jarausch@××××××××××××××××.de> wrote:
4 > > Hi,
5 > >
6 > > does anybody know about an easy method to remove all entries from
7 > > /var/lib/portage/world
8 > > which would have been pulled in anyway
9 > > even if they were not contained in world.
10 > >
11 > > My current attempt would be to write a script
12 > > which executes emerge -vpc on each entry in world.
13 > > If it wouldn't be removed it's obsolete in world.
14 > >
15 > > Unfortunately this has to be done in several rounds.
16 > >
17 > > Many thanks for a hint,
18 > > Helmut.
19 > >
20 > >
21 >
22 > You may find that using 'emerge --deselect some-package' to be what
23 > you need. It removeds the file from your world file, but does not
24 > unmerge the package. That command switch is the functional opposite
25 > of
26 > --noreplace.
27 >
28 > I think you will find a wealth of information in the manpage for
29 > emerge. Happy reading!
30
31 Sorry, but I still don't see it.
32 The main question is which packages might be removed
33 from 'world'?
34
35 Helmut.

Replies

Subject Author
Re: [gentoo-user] Remove redundant entries in "world" - howto Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Remove redundant entries in "world" - howto Neil Bothwick <neil@××××××××××.uk>