Description of problem: rpm does not work on package files whose access path contains spaces Version-Release number of selected component (if applicable): 4.4.2 release 32 How reproducible: always Steps to Reproduce: 1. put Fedora DVD into DVD drive 2. LANG=C rpm -qip /media/FC-6\ x86_64\ DVD/Fedora/RPMS/alsa-lib-1.0.12-2.fc6.i386.rpm 3. Actual results: error: open of /media/FC-6 failed: No such file or directory error: open of /media/FC-6 failed: No such file or directory Probably, incorrect escaping of file names in the scripts causes this. Expected results: should have queried the package Additional info:
A work around is cd /media/FC-6\ x86_64\ DVD/Fedora/RPMS rpm -qip alsa-lib-1.0.12-2.fc6.i386.rpm
Fixed in rpm cvs, should be in rpm-4.4.8-0.4 when built. UPSTREAM
This bug is present in RHEL-5 as well, is this fix going to be in 5.1 ?
Quoting or double escaping works: rpm -qp Some\\\ Stuff/createrepo-0.4.10-1.noarch.rpm createrepo-0.4.10-1.noarch rpm -qp 'Some\ Stuff/createrepo-0.4.10-1.noarch.rpm' createrepo-0.4.10-1.noarch
User pnasrat's account has been closed
Reassigning to owner after bugzilla made a mess, sorry about the noise...
Marking as dupe of 250990, this is not going to get fixed for FC6 at this point anyway. *** This bug has been marked as a duplicate of 250990 ***