* [gentoo-user] Orphan packages
@ 2008-12-24 15:17 Leonid Podolny
2008-12-24 15:23 ` Justin
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Leonid Podolny @ 2008-12-24 15:17 UTC (permalink / raw
To: gentoo-user
Hi,
I'm sure that this issue has already been discussed here, but I can't
find any such discussions.
Anyway, is there an easy way to find orphan packages, i.e. installed
packages that don't have repository behind? For example, if I used to
have a layman overlay and now I deleted it, all the packages that
belonged to that overlay are now orphans. I would like at least to get a
list of those packages.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Orphan packages
2008-12-24 15:17 [gentoo-user] Orphan packages Leonid Podolny
@ 2008-12-24 15:23 ` Justin
2008-12-24 15:25 ` Dale
2008-12-26 20:11 ` [gentoo-user] " Neil Bothwick
2 siblings, 0 replies; 7+ messages in thread
From: Justin @ 2008-12-24 15:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 534 bytes --]
Leonid Podolny schrieb:
> Hi,
> I'm sure that this issue has already been discussed here, but I can't
> find any such discussions.
> Anyway, is there an easy way to find orphan packages, i.e. installed
> packages that don't have repository behind? For example, if I used to
> have a layman overlay and now I deleted it, all the packages that
> belonged to that overlay are now orphans. I would like at least to get a
> list of those packages.
>
>
You can use eix for that. I don't know the exact syntax but it works.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Orphan packages
2008-12-24 15:17 [gentoo-user] Orphan packages Leonid Podolny
2008-12-24 15:23 ` Justin
@ 2008-12-24 15:25 ` Dale
2008-12-24 16:11 ` [gentoo-user] " Nikos Chantziaras
2008-12-26 20:11 ` [gentoo-user] " Neil Bothwick
2 siblings, 1 reply; 7+ messages in thread
From: Dale @ 2008-12-24 15:25 UTC (permalink / raw
To: gentoo-user
Leonid Podolny wrote:
> Hi,
> I'm sure that this issue has already been discussed here, but I can't
> find any such discussions.
> Anyway, is there an easy way to find orphan packages, i.e. installed
> packages that don't have repository behind? For example, if I used to
> have a layman overlay and now I deleted it, all the packages that
> belonged to that overlay are now orphans. I would like at least to get a
> list of those packages.
>
>
>
emerge --depclean -p and make sure everything looks OK. If it does,
remove the -p option. OK means it is not removing something you need.
If it mentions removing some version of python, make sure you have ran
python-updater. There may be others so look carefully.
Also, I run revdep-rebuild -i afterwards just to make sure.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Orphan packages
2008-12-24 15:25 ` Dale
@ 2008-12-24 16:11 ` Nikos Chantziaras
2008-12-24 16:21 ` Dale
2008-12-24 16:22 ` Leonid Podolny
0 siblings, 2 replies; 7+ messages in thread
From: Nikos Chantziaras @ 2008-12-24 16:11 UTC (permalink / raw
To: gentoo-user
Dale wrote:
> Leonid Podolny wrote:
>> Hi,
>> I'm sure that this issue has already been discussed here, but I can't
>> find any such discussions.
>> Anyway, is there an easy way to find orphan packages, i.e. installed
>> packages that don't have repository behind? For example, if I used to
>> have a layman overlay and now I deleted it, all the packages that
>> belonged to that overlay are now orphans. I would like at least to get a
>> list of those packages.
>
> emerge --depclean -p and make sure everything looks OK.
That's not what it does :P depclean only removes packages that are not
in world and are not a dependency of another package. You can emerge
package foo from overlay bar and then remove the overlay, but depclean
won't clean it because it's still in world.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Orphan packages
2008-12-24 16:11 ` [gentoo-user] " Nikos Chantziaras
@ 2008-12-24 16:21 ` Dale
2008-12-24 16:22 ` Leonid Podolny
1 sibling, 0 replies; 7+ messages in thread
From: Dale @ 2008-12-24 16:21 UTC (permalink / raw
To: gentoo-user
Nikos Chantziaras wrote:
> Dale wrote:
>> Leonid Podolny wrote:
>>> Hi,
>>> I'm sure that this issue has already been discussed here, but I can't
>>> find any such discussions.
>>> Anyway, is there an easy way to find orphan packages, i.e. installed
>>> packages that don't have repository behind? For example, if I used to
>>> have a layman overlay and now I deleted it, all the packages that
>>> belonged to that overlay are now orphans. I would like at least to
>>> get a
>>> list of those packages.
>>
>> emerge --depclean -p and make sure everything looks OK.
>
> That's not what it does :P depclean only removes packages that are
> not in world and are not a dependency of another package. You can
> emerge package foo from overlay bar and then remove the overlay, but
> depclean won't clean it because it's still in world.
>
>
>
I missed the overlay part. I thought he was talking about removing
dependencies of a removed package that nothing else needed.
Sorry for the confusion.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Orphan packages
2008-12-24 16:11 ` [gentoo-user] " Nikos Chantziaras
2008-12-24 16:21 ` Dale
@ 2008-12-24 16:22 ` Leonid Podolny
1 sibling, 0 replies; 7+ messages in thread
From: Leonid Podolny @ 2008-12-24 16:22 UTC (permalink / raw
To: gentoo-user
Nikos Chantziaras wrote:
> Dale wrote:
>> Leonid Podolny wrote:
>>> Hi,
>>> I'm sure that this issue has already been discussed here, but I can't
>>> find any such discussions.
>>> Anyway, is there an easy way to find orphan packages, i.e. installed
>>> packages that don't have repository behind? For example, if I used to
>>> have a layman overlay and now I deleted it, all the packages that
>>> belonged to that overlay are now orphans. I would like at least to get a
>>> list of those packages.
>>
>> emerge --depclean -p and make sure everything looks OK.
>
> That's not what it does :P depclean only removes packages that are not
> in world and are not a dependency of another package. You can emerge
> package foo from overlay bar and then remove the overlay, but depclean
> won't clean it because it's still in world.
>
>
Exactly :)
Thanks for the pointer to eix, its man page says that
"eix-test-obsolete" does exactly that.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Orphan packages
2008-12-24 15:17 [gentoo-user] Orphan packages Leonid Podolny
2008-12-24 15:23 ` Justin
2008-12-24 15:25 ` Dale
@ 2008-12-26 20:11 ` Neil Bothwick
2 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2008-12-26 20:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 551 bytes --]
On Wed, 24 Dec 2008 17:17:16 +0200, Leonid Podolny wrote:
> Anyway, is there an easy way to find orphan packages, i.e. installed
> packages that don't have repository behind? For example, if I used to
> have a layman overlay and now I deleted it, all the packages that
> belonged to that overlay are now orphans. I would like at least to get a
> list of those packages.
grep <overlayname> /var/db/pkg/*/*/repository
--
Neil Bothwick
A woman walked into a bar and asked the barman for a large double
entendre, so he gave her one.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-12-26 20:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-24 15:17 [gentoo-user] Orphan packages Leonid Podolny
2008-12-24 15:23 ` Justin
2008-12-24 15:25 ` Dale
2008-12-24 16:11 ` [gentoo-user] " Nikos Chantziaras
2008-12-24 16:21 ` Dale
2008-12-24 16:22 ` Leonid Podolny
2008-12-26 20:11 ` [gentoo-user] " Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox