Bug 445158
Summary: | PackageKit fails to install a package if there is space in the directory name | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dawid Pietrala <dafydd> |
Component: | PackageKit | Assignee: | Robin Norwood <robin.norwood> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | ed, lmacken, richard, tim.lauridsen |
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-05-20 08:57:43 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
Dawid Pietrala
2008-05-04 23:25:55 UTC
Something like this fixes it on the backend, --- a/backends/yum/helpers/install-file.py +++ b/backends/yum/helpers/install-file.py @@ -15,7 +15,7 @@ import sys from yumBackend import PackageKitYumBackend . trusted = sys.argv[1] -file_to_inst = sys.argv[2] +file_to_inst = ' '.join(sys.argv[2:]) backend = PackageKitYumBackend(sys.argv[1:]) backend.install_file(trusted, file_to_inst) sys.exit(0) But the daemon should probably be passing us quoted paths. Richard? Correct, the daemon should really be sending quoted paths - it already does the right thing with argv, so I guess this should be fixed in the daemon pretty trivially. Aye, I see the problem. Will fix tmw. Fixed in master, commitid a0a10e92526a4cdeb2235e88caaa1bd61f15f613 thank you! have a nice day! There's rpm's here: http://koji.fedoraproject.org/koji/taskinfo?taskID=597384 Please can you test this please, and if it works then I'll push to updates. Thanks. it works fine now. however, as i wanted to test it thoroughly, i checked what happens if i try to install a package which is already installed. PackageKit displays a message which says: Local install failed. Installing the local file failed. More information is available in the detailed report. When i opened More details: Can't install /home/daf/Pobrane pliki/<package_name>.rpm i know that it is already installed but shouldn't it be stated somewhere? yum localinstall displays the appropriate message. Thanks for verifying. The message with master (newer code) is much better. I'll be pushing the new version into Fedora when it's stabilised a bit. all right, thank you! 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 *** Bug 459358 has been marked as a duplicate of this bug. *** |