Bug 1018967

Summary: Inconsistency in package installation status
Product: [Fedora] Fedora Reporter: Zdenek Chmelar <chmelarz>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: chmelarz, dan.mashal, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-01 11:02:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
meld displayed as ready for installation (even if installed)
none
Meld displayed correctly - with remove button none

Description Zdenek Chmelar 2013-10-14 19:46:13 UTC
Created attachment 812210 [details]
meld displayed as ready for installation (even if installed)

Description of problem:
Gnome-software shows some packages as ready for installation even if they are installed

Version-Release number of selected component (if applicable):
gnome-software-3.10.0-1.fc20.x86_64

How reproducible:
depends on what's searched 

Steps to Reproduce:
1. open gnome-application
2. search for 'gnome' to find all applicable packages
3. result shows some applications available for installation even if they are already installed

Actual results:
Installed applications have button 'Install' in search result

Expected results:
Installed application should have button 'Remove'

Additional info:
1. If I search exact application with its name (e.g. not general search like 'gnome' but 'meld'), search result shows this application with correct button 'remove'

2. Please see attached screenshots for better understanding of this bug:

Application Meld is installed on my PC
a) search result of word 'gnome' shows meld available for installation
b) search result of word 'meld' shows meld ready for removal

3. If I click on 'Install' button, it looks like the installation is initiated but ends quickly (without gnome-software crash or any other error) and application is still listed with button 'Install'

Comment 1 Zdenek Chmelar 2013-10-14 19:47:07 UTC
Created attachment 812211 [details]
Meld displayed correctly - with remove button

Comment 2 Zdenek Chmelar 2013-10-14 19:56:37 UTC
I tried with other application (Archive manager) that's installed on my laptop (e.g. is listed in gnome-software under 'installed' applications with remove button).
When I search for 'Archive manager', result contains Archive manager application with 'Install' button (e.g. could be installed)
When I search for 'Archive' only, result returned Archive manager with remove button (e.g. as already installed)

Comment 4 Zdenek Chmelar 2013-11-01 11:02:08 UTC
I can confirm this bug is fixed with current version of gnome-software (3.10.3-1). Ticket can be closed. Thank you!