Bug 442503 - gpk-application doesnt filter available packages properly
Summary: gpk-application doesnt filter available packages properly
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-15 07:15 UTC by Jeremy West
Modified: 2008-11-06 10:59 UTC (History)
4 users (show)

(edit)
Clone Of:
: 550876 (view as bug list)
(edit)
Last Closed: 2008-11-06 10:59:51 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.