Bug 217227

Summary: URL problem in local DVD repository
Product: [Fedora] Fedora Reporter: Tamal Kanti Nath <tamal.nath>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-27 22:45:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
My custom offline DVD repository none

Description Tamal Kanti Nath 2006-11-25 10:24:32 UTC
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.

Comment 1 Tamal Kanti Nath 2006-11-25 10:24:32 UTC
Created attachment 142107 [details]
My custom offline DVD repository

Comment 2 Jeremy Katz 2006-11-27 22:45:15 UTC

*** This bug has been marked as a duplicate of 212180 ***