I mounted redhat dvd media and I named in redhat.iso. And when i mounted it and did


it showed /media/RHEL-5.6 i386 DVD. What does this space mean between 5.6 and i386 and DVD.

Because Im creating a DVD based Repository which i will use to Upgrade the Redhat linux.

Im asking this because I have to assign this path in Baserul=file:///Absolute/Path to run

yum upgrade

command which will upgrade redhat 5.5 to 5.6. And when assign it like this baseurl=file:////media/RHEL-5.6 i386 DVD

it give me error that i can only use https, ftp or URL not " "

df -h Results


Instructions entered in dvd.repo

baseurl=file:///media/RHEL_5.6\ i386\ DVD/SERVER

And when I omitted white space and wrote basurl like this


and saved it and then used the command YUM CLEAN ALL and after that YUM LIST ALL it smashed me with this message



Have you tried using backslashes? So

baseurl=file:////media/RHEL-5.6\ i386\ DVD

This escapes the whitespaces and tells RPM that these are part of the value for baseurl.

  • Yes dear I did this but it is saying the same thing. Well I took the screenshot and uploaded it. Tell me how can i add the path against baseurl
    – OmiPenguin
    Dec 11 '12 at 6:15
  • 1
    What about replacing the spaces with %20? It seams like RPM transforms “\ ” to “\\”; and allow URL encoded characters (0x20 is the ASCII code of a whitespace) Dec 11 '12 at 15:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.