equery list -p doesnt show all packages in 'portage tree'-section equery -V (0.1.3) equery says gcc341-r3 and gcc342-2 are installed, but they didnt show up in the 'portage tree'-section. it would be very helpfull if the install-pkg also show in the 'portage tree-section', so we know that the ebuild is in portage or maybe has been kicked out of the cvs ... this issue is a little bit related to #67736 ... - and so we can also add the *marker*-thingie ... <snip> rockoo@porkoo ~ $ sudo equery l -p gcc [ Searching for package 'gcc' in all categories among: ] * installed packages [I--] [ ] sys-devel/gcc-3.4.1-r3 (3.4) [I--] [ ] sys-devel/gcc-3.4.2-r2 (i686-pc-linux-gnu-3.4) [I--] [ ] sys-devel/gcc-config-1.3.7-r1 (0) * Portage tree (/usr/portage) [-P-] [M ] sys-devel/gcc-2.95.3-r8 (2.95) [-P-] [M ] sys-devel/gcc-3.1.1-r2 (3.1) [-P-] [M ] sys-devel/gcc-3.2.3-r4 (3.2) [-P-] [M~] sys-devel/gcc-3.3.1-r5 (3.2) [-P-] [M~] sys-devel/gcc-3.3.2-r1 (3.2) [-P-] [M~] sys-devel/gcc-3.3.2-r2 (3.2) [-P-] [M~] sys-devel/gcc-3.3.2-r3 (3.2) [-P-] [M~] sys-devel/gcc-3.3.2-r4 (3.2) [-P-] [M ] sys-devel/gcc-3.3.2-r5 (3.2) [-P-] [M~] sys-devel/gcc-3.3.2-r7 (3.2) [-P-] [M-] sys-devel/gcc-3.3.2 (3.2) [-P-] [M~] sys-devel/gcc-3.3.3-r3 (3.2) [-P-] [M~] sys-devel/gcc-3.3.3-r5 (3.2) [-P-] [M ] sys-devel/gcc-3.3.3-r6 (3.2) [-P-] [M~] sys-devel/gcc-3.3.3 (3.2) [-P-] [ ] sys-devel/gcc-3.3.4-r1 (3.2) [-P-] [ ~] sys-devel/gcc-3.3.4-r2 (3.2) [-P-] [M-] sys-devel/gcc-3.3 (3.2) [-P-] [ ~] sys-devel/gcc-3.4.1-r2 (3.4) [-P-] [ ~] sys-devel/gcc-3.4.1 (3.4) [-P-] [ ~] sys-devel/gcc-3.4.2-r3 (3.4) [-P-] [M-] sys-devel/gcc-3.3.3_pre20040426 (3.2) [-P-] [M-] sys-devel/gcc-3.3.3_pre20040408-r1 (3.2) [-P-] [ ] sys-devel/gcc-compat-1.4 (0) [-P-] [ ] sys-devel/gcc-config-1.3.6-r3 (0) ... </snip>
other example: - installed is xmms-1.2.10-r7, which is no longer in portage - equery does not tell me that i have an installed-xmms package porkoo ~ # esearch ^xmms$ [ Results for search key : ^xmms$ ] [ Applications found : 1 ] * media-sound/xmms Latest version available: 1.2.10-r9 Latest version installed: 1.2.10-r7 Size of downloaded files: 2,762 kB Homepage: http://www.xmms.org/ Description: X MultiMedia System License: GPL-2 porkoo ~ # equery l -p media-sound/xmms [ Searching for package 'xmms' in 'media-sound' among: ] * installed packages * Portage tree (/usr/portage) [-P-] [ ] media-sound/xmms-1.2.10-r5 (0) [-P-] [ ~] media-sound/xmms-1.2.10-r9 (0) [-P-] [ ] media-sound/xmms-1.2.8-r4 (0)
another issue - i have mrxvt-0.3.6 installed, 0.3.7 is in cvs and also in overlay. the 0.3.7 from cvs does not show up in the 'portage tree'-section ... <snip> rockoo@porkoo ~ $ equery l -p -o x11-terms/mrxvt [ Searching for package 'mrxvt' in 'x11-terms' among: ] * installed packages [I--] [ ] x11-terms/mrxvt-0.3.6 (0) * Portage tree (/usr/portage) * overlay tree (/usr/local/portage) [--O] [ ~] x11-terms/mrxvt-0.3.7 (0) [--O] [ ~] x11-terms/mrxvt-0.3.4 (0) [--O] [ ~] x11-terms/mrxvt-0.3.5 (0) rockoo@porkoo ~ $ ls /usr/portage/x11-terms/mrxvt/ ChangeLog files mrxvt-0.3.6.ebuild Manifest metadata.xml mrxvt-0.3.7.ebuild rockoo@porkoo ~ $ ls /usr/local/portage/x11-terms/mrxvt/ ChangeLog files mrxvt-0.3.4.ebuild mrxvt-0.3.7.ebuild Manifest metadata.xml mrxvt-0.3.5.ebuild </snip>
This bug still exists in version 0.1.4. It's critical that it gets fixed as etcat has been officially deprecated.
If the ebuild is no longer in the tree or overlay, then equery will show the installed package as being masked. As far as not showing the ebuild when a matching ebuild is in an overlay, I am unable to get that information from portage , since an overlay is considered as overriding the portage tree.