Bug 220084 - yum failing to install with file:// based repo
yum failing to install with file:// based repo
Status: CLOSED DUPLICATE of bug 212180
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2006-12-18 15:11 EST by Dax Kelson
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-12-19 13:52:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dax Kelson 2006-12-18 15:11:41 EST
Description of problem:

I setup a repo with the following:

name=RHEL $releasever - Server - $basearch
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):

I opened a yum bug upstream at:
Comment 1 Dax Kelson 2006-12-18 16:02:45 EST
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
Comment 2 Jeremy Katz 2006-12-19 13:52:45 EST

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

Note You need to log in before you can comment on or make changes to this bug.