Description of problem: I know file names with spaces are a pain. But yum should be able to handle them non the less. Putting baseurl=file:///root/path with spaces in a .repo file makes yum unhappy. Escaping/quoting doesn't work. Version-Release number of selected component (if applicable): yum-3.0.3-1.fc6 How reproducible: 100% Steps to Reproduce: 1. Create a repo in /root/path with spaces 2. Create a .repo file in /etc/yum.repos.d 3. run yum Actual results: Options Error: Error parsing 'file:///root/path with spaces': URL must be http, ftp, file or https not "" Expected results: Yum is able to use the local repo Additional info: I need this to use the fedora dvd as a local repo. I can't put baseurl=file:///media/FC6 i386 DVD directly, instead I need to create a symlink without spaces to that location and put the location of the symlink in the baseurl and everything works as expected. Tobias
in your yum.repo file try this: baseurl=file:///path%20with%20spaces see if that does what you would expect. It worked for me.
Aha, That does work. Funky way to escape but oh well. Thanks Tobias
It's the same way that spaces are escaped in web urls.