Red Hat Bugzilla – Bug 141304
RPM does not support whitespace in path names
Last modified: 2007-11-30 17:10:56 EST
RPM does not support whitespace in path names, not even when enclosed
within '"' or escaped with '\'.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -Uvh "path name with spaces/package.rpm"
error: open of path failed: No such file or directory
error: open of name failed: No such file or directory
error: open of with failed: No such file or directory
error: open of spaces/package.rpm failed: No such file or directory
Package should be installed/upgraded properly.
Workaround is to 'chdir' into directory and run rpm on just the filenames.
There are 2 levels of escaping needed:
ls a\ b/
rpm -qp a\\\ b/time-1.7-22.i386.rpm