Bug 459870

Summary: Extremely poor error message - Local Install Failed - means package already installed
Product: [Fedora] Fedora Reporter: Bevis King <brwk>
Component: gnome-packagekitAssignee: Robin Norwood <robin.norwood>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: rhughes, richard
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: 2008-08-27 18:21:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 460199    

Description Bevis King 2008-08-23 10:25:56 UTC
Description of problem:
Gnome Package Kit gives a very poor error message when you right click install a package that is already installed.  The message you get is:
------------
Local Install Failed
Installing the local file failed.
More information is available in the detailed report.

V More Details:
Can't install /home/user/Download/xyz-tools-0.8.1-1.fc9.noarch.rpm
------------

If you check with:
rpm -q xyz-tools

you find it's already installed!

Version-Release number of selected component (if applicable):
gnome-packagekit-0.1.12-12.20080430.fc9.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1.  Try to install a package that is already installed by right clicking and
choosing "Install Package".
  
Actual results:
Very misleading error message.

Expected results:
Package is already installed.  Possibly mentioning if the version numbers are the same or different.

Additional info:

Comment 1 Richard Hughes 2008-08-27 15:49:49 UTC
Robin is working on this bug now. I'll merge this into F9 as a backport when he's done. Nice to see another Surrey University student - I used to be ee21rh.uk!

Comment 2 Robin Norwood 2008-08-27 16:16:20 UTC
This should be fixed in HEAD now, Richard.

Comment 3 Richard Hughes 2008-08-27 18:21:03 UTC
Thanks Robin.