Bug 117744

Summary: RPM fails to work with backslashes
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Mario Ohnewald <mohnewald>
Component: BasesystemAssignee: Michael Schröder <mls>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: mohnewald
Version: unspecified   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Pro 9.3   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Mario Ohnewald 2005-09-19 10:52:38 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 :/
Comment 1 Michael Schröder 2005-09-20 11:27:42 UTC
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.