Bug 750253

Summary: gpk-application chooses wrong filter for installed applications when using zif as backend
Product: [Fedora] Fedora Reporter: Heiko Adams <bugzilla>
Component: gnome-packagekitAssignee: Richard Hughes <hughsient>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: hughsient, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-31 15:17:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Heiko Adams 2011-10-31 13:54:53 UTC
Description of problem:
When using zif as backend for PackageKit gpk-application chooses wrong filter and lists installed applications as installable

Version-Release number of selected component (if applicable):
gnome-packagekit-3.2.1-1.fc16.i686
PackageKit-zif-0.6.19-3.fc16.i686
zif-0.2.5-1.fc16.i686

How reproducible:
allways

Steps to Reproduce:
1. start gpk-application
2. search for an installed application
  
Actual results:
gpk-application lists the installed application as installable

Expected results:
gpk-application should lists the installed application as removeable

Additional info:

Comment 1 Richard Hughes 2011-10-31 15:17:40 UTC
Already fixed upstream:

commit 1063e6bab45b6fafe78978526196be5b9ebbc2af
Author: Richard Hughes <richard>
Date:   Fri Oct 21 12:22:09 2011 +0100

    zif: Do not report packages as installable if they are already installed

:100644 100644 9e38bbc... ed25ee9... M  backends/zif/pk-backend-zif.c

A new PK release should fix this in the future.