Gentoo Archives: gentoo-user

From: Leonid Podolny <leonidp.lists@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Orphan packages
Date: Wed, 24 Dec 2008 16:22:41
Message-Id: 495261B1.3030103@gmail.com
In Reply to: [gentoo-user] Re: Orphan packages by Nikos Chantziaras
1 Nikos Chantziaras wrote:
2 > Dale wrote:
3 >> Leonid Podolny wrote:
4 >>> Hi,
5 >>> I'm sure that this issue has already been discussed here, but I can't
6 >>> find any such discussions.
7 >>> Anyway, is there an easy way to find orphan packages, i.e. installed
8 >>> packages that don't have repository behind? For example, if I used to
9 >>> have a layman overlay and now I deleted it, all the packages that
10 >>> belonged to that overlay are now orphans. I would like at least to get a
11 >>> list of those packages.
12 >>
13 >> emerge --depclean -p and make sure everything looks OK.
14 >
15 > That's not what it does :P depclean only removes packages that are not
16 > in world and are not a dependency of another package. You can emerge
17 > package foo from overlay bar and then remove the overlay, but depclean
18 > won't clean it because it's still in world.
19 >
20 >
21 Exactly :)
22 Thanks for the pointer to eix, its man page says that
23 "eix-test-obsolete" does exactly that.