Bug 459358

Summary: Double-clicking rpms in evolution barfs if spaces in path
Product: [Fedora] Fedora Reporter: Ed Avis <ed>
Component: PackageKitAssignee: Robin Norwood <robin.norwood>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: lmacken, rhughes, richard
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-26 16:32:18 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:

Description Ed Avis 2008-08-17 13:36:00 UTC
Either evolution or the program that handles installing rpms when double-clicked (PackageKit?), or maybe the glue between them, cannot cope with spaces in pathnames.

How to reproduce: do a clean Fedora 9 installation.  Reboot and log in.  Put the DVD in the drive and it gets automatically mounted at /media/Fedora 9 x86_64 DVD.  (At least with the DVD I have; note the spaces in the pathname.)

Browse to the Packages directory using Evolution and double-click on an rpm package.  Enter the root password when prompted.  The Install Package window appears with an error:

Can't install /media/Fedora

Note that the pathname has been chopped at the first space character.

My guess is it's PackageKit at fault, since if you right-click and Open with Archive Manager it works fine.

Comment 1 Richard Hughes 2008-08-18 08:27:21 UTC
Should be fixed if you update PackageKit, it was a bug in the filename handling code fixed a few months ago. Please reopen if updating PackageKit doesn't fix this. Thanks.

*** This bug has been marked as a duplicate of bug 445158 ***

Comment 2 Ed Avis 2008-08-18 23:38:01 UTC
I did 'yum update' (for the first time since installing the system).  The old error is gone but now a different message is displayed:

failed to get a TID: Incorrect path with ';' returned!

This when I try to install /media/Fedora 9 x86_64 DVD/Packages/a2ps-4.13b-71.fc9.i386.rpm by double-clicking on the icon.

Comment 3 Richard Hughes 2008-10-26 16:32:18 UTC
This works for me now, with any 0.3.x version of PackageKit.