Bug 442503

Summary: gpk-application doesnt filter available packages properly
Product: [Fedora] Fedora Reporter: Jeremy West <jwest>
Component: PackageKitAssignee: Robin Norwood <robin.norwood>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: jwest, rhughes, richard, tla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 550876 (view as bug list) Environment:
Last Closed: 2008-11-06 10:59:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jeremy West 2008-04-15 07:15:04 UTC
Description of problem:
pk-application no longer shows duplicate entries for installed packages, however
now if I choose to filter out only available packages, pk-application still
shows me packages I've just installed, even though I can drop the filter and
clearly see the package is installed.  

Version-Release number of selected component (if applicable):
gpk-application 0.1.12

How reproducible:
Every time


Steps to Reproduce:
1.  Bring up gpk-application
2.  Select a category and install a package not currently installed
3.  Once the package finishes installing, note that it now shows as installed in
the category list
4.  Now sort the category to only show "available" packages.
5.  Notice the package is now "greyed out" and showing as still available for
install
  
Actual results:
gpk-application doesn't filter results correctly.

Expected results:
gpk-application should filter results correctly.

Additional info:

Comment 1 Richard Hughes 2008-04-15 20:44:19 UTC
Should be fixed, could you give the newest packages from Rawhide a go please.
Thanks.

Comment 2 Jeremy West 2008-04-20 04:54:56 UTC
Richard ... I tested the latest packages and the problem still exists.  For
example.  If I open pkg-application and search in the KDE category I see
"dragon-player" listed.  IT's not installed so I install it.  After it's
installed, I see it no longer "greyed" out.  So I go to filter and only show
"available" packages.  Strangely "dragon-player" is still listed as a option,
when it was clearly just installed.

--jwest

Comment 3 Richard Hughes 2008-04-21 00:07:46 UTC
Well, I'm guessing this is because yum still counts a package as available even
when there's a nevra of the same version installed. I guess we'll have to filter
them in the yum backend, although that's pretty sucky.

Comment 4 Bug Zapper 2008-05-14 09:28:07 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Richard Hughes 2008-09-17 08:42:46 UTC
Should be fixed in the PackageKit in F9 and rawhide -- please confirm.