Red Hat Bugzilla – Bug 220084
yum failing to install with file:// based repo
Last modified: 2007-11-30 17:07:39 EST
Description of problem:
I setup a repo with the following:
name=RHEL $releasever - Server - $basearch
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
--> 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):
I opened a yum bug upstream at:
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
*** This bug has been marked as a duplicate of 212180 ***