Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67736 - equery list - inst-pkg does not show belonging to portage/overlay
Summary: equery list - inst-pkg does not show belonging to portage/overlay
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 18:45 UTC by Daniel Webert
Modified: 2005-10-12 22:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2004-10-15 18:45:00 UTC
equery list - inst-pkg does not show belongs to portage/overlay

i dont know which ebuild is install - portage or overlay?

can we change 
[I--] [  ] app-arch/hdup-1.6.35 (0)
to
[I-O] [  ] app-arch/hdup-1.6.35 (0)
or something like that ...

<snip>
porkoo ~ # equery list -p -o hdup 
[ Searching for package 'hdup' in all categories among: ]
 * installed packages
[I--] [ ~] app-arch/hdup-1.6.35 (0)
 * Portage tree (/usr/portage)
[-P-] [ ~] app-arch/hdup-1.6.34 (0)
[-P-] [ ~] app-arch/hdup-1.6.35 (0)
[-P-] [ ~] app-arch/hdup-1.6.32 (0)
[-P-] [ ~] app-arch/hdup-1.6.33 (0)
 * overlay tree (/usr/local/portage)
[--O] [ ~] app-arch/hdup-1.6.35 (0)
</snip>
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-10-15 19:04:05 UTC
There is no way to know which ebuild was used (theoretically it could be a completely different one too).
Comment 2 Daniel Webert 2004-10-15 19:21:59 UTC
ok - this is a 'extreme' case and unlucky explained :(, because honestly i wanted the following feature - maybe we can add a cosmetic-eye-candy (color/asterisk) if the installed pkg matches one of the portage/overlay ones.

<snip>
porkoo ~ # equery list -p -o hdup
[ Searching for package 'hdup' in all categories among: ]
 * installed packages
[I--] [  ] app-arch/hdup-1.6.37 (0) *other-color/bold/?*
 * Portage tree (/usr/portage)
[-P-] [ ~] app-arch/hdup-1.6.34 (0)
[-P-] [ ~] app-arch/hdup-1.6.35 (0)
[-P-] [ ~] app-arch/hdup-1.6.32 (0)
[-P-] [ ~] app-arch/hdup-1.6.33 (0)
 * overlay tree (/usr/local/portage)
[--O] [  ] app-arch/hdup-1.6.37 (0) *other-color/bold/?*
</snip>
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-10-18 05:25:08 UTC
While we could add such a feature: trying to figure out which of the available
packages in the overlay or porttree corresponds to, this is generally not a 
solvable problem.

I'll mull it over for a bit. Hopefully this will be rather trivial once the
equery python api materialises.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2005-10-12 22:18:43 UTC
Marking as later since the API will not be forthcoming in the near future.