View previous topic :: View next topic |
Author |
Message |
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1247 Location: Edinburgh, UK
|
Posted: Sat Feb 28, 2015 11:58 am Post subject: More granular and recursive "equery depends"? |
|
|
Hi,
Having a quite old and crufty system these days, I find myself dealing with some seemingly odd dependencies quite often that I don't feel equipped to make sense of. "equery depends" can be quite useful, but there are things I wish it could do:
- Operate recursively. Sometimes I want to see the whole dependency chain of a package, i.e. like running equery d on that package, and then on each of its results, all the way up to the profile, @world or @system entries at the top of the tree. This might be the only way to determine why a package is installed, and doing it manually can be interminable.
- Accept a more detailed pkgspec argument (as close to portage atom spec as possible), allowing to filter by version, slot or USE flag(s). For example, find only packages that depend on >=sys-devel/gcc-4.8[objc].
A tool that combines both of these abilities would be invaluable. In fact I'm considering trying to create one, but before I do that I'd like to make sure someone hasn't already done so, given how many portage-related tools there are in the ecosystem. Thanks in advance for any tips. |
|
Back to top |
|
|
mahdi1234 Guru
Joined: 19 Feb 2005 Posts: 559 Location: Being There
|
Posted: Sun Mar 01, 2015 8:26 pm Post subject: Re: More granular and recursive "equery depends"? |
|
|
Havin_it wrote: | Hi,
[*] Operate recursively. Sometimes I want to see the whole dependency chain of a package, i.e. like running equery d on that package, and then on each of its results, all the way up to the profile, @world or @system entries at the top of the tree. This might be the only way to determine why a package is installed, and doing it manually can be interminable.
|
as for the first point this should do the trick try with and without -D
cheers _________________ http://gentoo.mahdi.cz <-- gentoo package search engine |
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1247 Location: Edinburgh, UK
|
Posted: Tue Mar 03, 2015 10:41 am Post subject: Re: More granular and recursive "equery depends"? |
|
|
mahdi1234 wrote: | Havin_it wrote: | Hi,
[*] Operate recursively. Sometimes I want to see the whole dependency chain of a package, i.e. like running equery d on that package, and then on each of its results, all the way up to the profile, @world or @system entries at the top of the tree. This might be the only way to determine why a package is installed, and doing it manually can be interminable.
|
as for the first point this should do the trick try with and without -D
cheers |
Oh man, that's embarrassing but thanks anyway, that certainly covers (1)
I guess all the information needed for (2) is there, it's just a lot to parse by eye when -D comes into play. Parsing it by script would be ... a challenge |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot 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
|
|