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
Version-Release number of selected component (if applicable):
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
Options Error: Error parsing 'file:///root/path with spaces': URL must be http,
ftp, file or https not ""
Yum is able to use the local repo
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
in your yum.repo file try this:
see if that does what you would expect. It worked for me.
Aha, That does work.
Funky way to escape but oh well.
It's the same way that spaces are escaped in web urls.