Bugzilla – Bug 117744
RPM fails to work with backslashes
Last modified: 2005-09-20 11:27:42 UTC
linux:/home/mario # rpm -Uvh My\ Downloads/libtheora-1.0alpha5-0.pm.0.i686.rpm error: open of My failed: No such file or directory error: open of Downloads/libtheora-1.0alpha5-0.pm.0.i686.rpm failed: No such file or directory ## now we cd into the dir and install it: linux:/home/mario # cd My\ Downloads/ && rpm -Uvh libtheora-1.0alpha5-0.pm.0.i686.rpm warning: libtheora-1.0alpha5-0.pm.0.i686.rpm: V3 DSA signature: NOKEY, key ID 5277a2fa Preparing... ########################################### [100%] ... now it works :/
Well, everybody knows rpm is broken. We just have to live with it. Anyway, what's going on is that rpm itself also does globbing, so you have to quote the args: $ rpm -Uvh 'My\ Downloads/libtheora-1.0alpha5-0.pm.0.i686.rpm' error: open of My Downloads/libtheora-1.0alpha5-0.pm.0.i686.rpm failed: No such file or directory I can't fix this. Sorry.