Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168966 - installed package not visible (sometimes) in equery
Summary: installed package not visible (sometimes) in equery
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 05:59 UTC by Marcin Mikosik
Modified: 2007-03-05 07:47 UTC (History)
1 user (show)

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 Marcin Mikosik 2007-03-02 05:59:39 UTC
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 -------------
Comment 1 Marcin Mikosik 2007-03-02 06:54:24 UTC
My app-portage/gentoolkit version is 0.2.2.
Comment 2 David Watzke 2007-03-02 23:17:04 UTC
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 :-)
Comment 3 Marcin Mikosik 2007-03-05 07:47:30 UTC
In gentoolkit 0.2.3 everything works fine.
Shame on me I forgot to check the testing version before filling bugreport.