|
Next: [gentoo-user] Firefox: Content Encoding Error and..
|
| Author |
Message |
External

Since: Dec 24, 2008 Posts: 2
|
(Msg. 1) Posted: Wed Dec 24, 2008 4:20 pm
Post subject: [gentoo-user] Orphan packages Archived from groups: linux>gentoo>user (more info?)
|
|
|
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. |
|
| Back to top |
|
 |  |
External

Since: Sep 28, 2008 Posts: 93
|
(Msg. 2) Posted: Wed Dec 24, 2008 4:30 pm
Post subject: Re: [gentoo-user] Orphan packages [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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
 |
|
| Back to top |
|
 |  |
External

Since: Oct 27, 2006 Posts: 288
|
(Msg. 3) Posted: Wed Dec 24, 2008 5:20 pm
Post subject: [gentoo-user] Re: Orphan packages [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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  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. |
|
| Back to top |
|
 |  |
External

Since: Dec 24, 2008 Posts: 2
|
(Msg. 4) Posted: Wed Dec 24, 2008 5:30 pm
Post subject: Re: [gentoo-user] Re: Orphan packages [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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 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. |
|
| Back to top |
|
 |  |
External

Since: Sep 28, 2008 Posts: 93
|
(Msg. 5) Posted: Wed Dec 24, 2008 5:30 pm
Post subject: Re: [gentoo-user] Re: Orphan packages [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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 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
 |
|
| Back to top |
|
 |  |
| Related Topics: | [gentoo-user] What is the preferred gentoo way to list all.. - Hi, I have an older gentoo systen which accumulated some cruft over the time - I have to clean it up :-) I want to list all installed SLOTTED packages where more than one version is installed. The old (deprecated) qpkg had the option "--dups". ...
[gentoo-user] "dev" packages - I'm working on an install of Xen 3.0 (manual install, not from Portage) and trying to locate its listed prerequisites. I'm having trouble locating two of them: "zlib-dev" "python-dev" (This is what the Xen docs refers to them as.) ...
[gentoo-user] What happens with masked packages? - Hello, I'm running an amd64 Gentoo (but this is not a specific amd64 question) and have installed a few ~amd64 masked packages - and some work amzingly well. So I googled for information as to where I might report success, so that they might be..
[gentoo-user] unwanted packages - Hello, I took a workstation, quite some time ago, and converted it to a router/firewall for learning about and testing iptables/netfilter. It's very minimal: USE="-* perl acl acpi hardened kerberos krb4 ssl dvd sse mmx readline \ lm_sensors sy...
[gentoo-user] failed on stable packages - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I installed a stable x86 gentoo using my old amd64 world file. During world compiling the system failed on some packages (transcode,kth-krb, noatun-plugins). I think it is something correlated with my.. |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|