Description of problem: I setup a repo with the following: [RHEL5-Server] name=RHEL $releasever - Server - $basearch baseurl=file:///net/server1/export/netinstall/RHEL5/Server enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta Commands like "yum list" and "yum search foo" work fine. However, when I try to install something, it blows up: # yum install bind-chroot Loading "rhnplugin" plugin Loading "installonlyn" plugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for bind-chroot to pack into transaction set. media://1163270928.939995%232/bind-chroot-9.3.3-5.el5.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media> Trying other mirror. Error: failed to retrieve bind-chroot-9.3.3-5.el5.i386.rpm from RHEL5-Server error was [Errno 4] IOError: <urlopen error unknown url type: media> Version-Release number of selected component (if applicable): yum-3.0-5.4 yum-3.0.1-2.fc6 I opened a yum bug upstream at: https://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=677
According to upstream this will be fixed in yum at some point. Being able to use the same directory tree to install from with anaconda and then use with yum is extremely useful in a isolated network without RHN (not at all uncommon).
*** This bug has been marked as a duplicate of 212180 ***