Description of problem: When a user double clicks an RPM in nautilus, the path of which has a space, package installation fails Version-Release number of selected component (if applicable): gnome-packagekit-0.1.12-5.20080416git.fc9.i386 How reproducible: always Steps to Reproduce: 1. as user, double-click a file to install which has a space in the path (e.g.: /media/VMware Tools/VMwareTools-5.5.6-80404.i386.rpm) 2. authenticate as root Actual results: package installation fails with "The package that is trying to be installed is already installed." clicking on "More details" shows "Can't install /media/VMware" Expected results: twofold: 1) an error message that is not misleading 2) handling of spaces in filenames Additional info: file-roller-2.22.1-1.fc9 handles the same file & path just fine (i.e. right clicking the file and selecting Open with "Archive Manager"). So there must be a way to deal with the spaces.
>an error message that is not misleading Fixed in 8c4a5efbf356a9886cc7dea4893b07dae4bd94c6 I'm now trying to work out where the space issue is. The daemon does the right thing, so I'm erring on the backend.
Nope, it's my fault, I'm assuming a space is a delimiter in pk_spawn_command. I'll fix this now.
Created attachment 303072 [details] what i'm about to commit This is the proper fix.
Fixed in master and stable, many thanks.
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