I have app-office/openoffice-2.0.3 installed on my system. This package is listed as installed when I use "equery list openoffice" command but is not visible when I use "equery list -p openoffice. Reproducible: Always Steps to Reproduce: 1. List installed openoffice packages. ("equery list openoffice") 2. List installed and available in portage tree packages ("equery list -p openoffice") Actual Results: 1. The installed openoffice-2.0.3 package is listed as installed. -----------log------------ mikoch@gentoo ~/tmp/xml $ equery list openoffice [ Searching for package 'openoffice' in all categories among: ] * installed packages [I--] [M ] app-office/openoffice-2.0.3 (0) -----------end of log------------ 2. The installed packages list is empty: ----------- log------------ mikoch@gentoo ~/tmp/xml $ equery list -p openoffice [ Searching for package 'openoffice' in all categories among: ] * installed packages * Portage tree (/usr/portage) [-P-] [ ] app-office/openoffice-2.0.4 (0) [-P-] [M~] app-office/openoffice-2.1.0 (0) [-P-] [ ] app-office/openoffice-bin-2.1.0 (0) -----------end of log------------ Expected Results: The installed openoffice-2.0.3 should be listed as installed via "equery list -p openoffice" command. I suppose that problem can be connected with the fact that in my "/usr/portage/app-office/openoffice/" directory there is no ebuild for 2.0.3 version of openoffice. That's why "equery" with "-p" does not take into account the installed 2.0.3 version which does not have ebuild in portage any more. ------------ log ------------- mikoch@gentoo ~/tmp/xml $ ls -1 /usr/portage/app-office/openoffice/*ebuild /usr/portage/app-office/openoffice/openoffice-2.0.4.ebuild /usr/portage/app-office/openoffice/openoffice-2.1.0.ebuild ------------ end of log -------------
My app-portage/gentoolkit version is 0.2.2.
Looks like fixed (in gentoolkit 0.2.3)... # mv /portage/app-office/openoffice /portage/app-office/openoffice~ # equery list openoffice [ Searching for package 'openoffice' in all categories among: ] * installed packages [I--] [M~] app-office/openoffice-2.1.0 (0) # equery list -p openoffice [ Searching for package 'openoffice' in all categories among: ] * installed packages [I--] [M~] app-office/openoffice-2.1.0 (0) * Portage tree (/20GB/portage) [-P-] [ ] app-office/openoffice-bin-2.1.0 (0) Just try to install testing version (if you can/want) and we'll see :-)
In gentoolkit 0.2.3 everything works fine. Shame on me I forgot to check the testing version before filling bugreport.