Description of problem: I want to add some packages from my DVD and not from "core" repository. For this, I had disabled the core repository and created my own repository, dvd.repo. Here I have set baseurl=file:///media/FC_6 i386 DVD bit it didn't work. Possibly because the auto-mounted DVD has its name its space. The error was: Options Error: Error parsing 'file:///media/FC_6 i386 DVD': URL must be http, ftp, file or https not "" Then I made a soft link: ln -s "/media/FC_6 i386 DVD" /mnt/fedora And again edited dvd.repo: baseurl=file:///mnt/fedora This time the error was: media://1161131669.029329%233/Fedora/RPMS/emacs-21.4-17.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media> Trying other mirror. Error: failed to retrieve Fedora/RPMS/emacs-21.4-17.i386.rpm from dvd error was [Errno 4] IOError: <urlopen error unknown url type: media> Version-Release number of selected component (if applicable): yum-3.0.1-2.fc6 hal-0.5.8.1-4.fc6 autofs-5.0.1-0.rc2.22 Expected results: As FC6 DVD contain core files, my dvd repository should be used for core files.
Created attachment 142107 [details] My custom offline DVD repository
*** This bug has been marked as a duplicate of 212180 ***