Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-24-2010, 10:49 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 22

Rep: Reputation: 0
yum IOError: <urlopen error unknown url type: media>

My yum repository file:

# cat yjltest.repo

Use web browser navigate to, see all packages

Error message when install package
# yum install vsftpd
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "security" 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 vsftpd to pack into transaction set.
media://1192656534.547140%232/vsftpd-2.0.5-10.el5.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve vsftpd-2.0.5-10.el5.i386.rpm from yjltest
error was [Errno 4] IOError: <urlopen error unknown url type: media>
Old 01-26-2010, 06:02 PM   #2
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 97
It looks to me like a problem with the repository. Is this a
custom one or a copy? If a copy, did you recursively copy all
of the repodata directories?
Old 01-27-2010, 07:29 PM   #3
LQ Newbie
Registered: Apr 2009
Posts: 22

Original Poster
Rep: Reputation: 0
it copied from the Install DVD.

I ran the createrepo to create the repository. It works.
# cd /share_file/Server
# createrepo .



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum IOError Styles Linux - Newbie 27 09-20-2011 03:36 PM
error timeout: <urlopen error timed out> when using yum on centos5.2 dadidudedo Linux - General 9 05-01-2009 04:21 AM
Unknown media type in command line kabith Linux - Newbie 1 03-19-2009 06:06 PM
Help!! Yum Ioerror? sean_zhang Linux - Software 2 01-12-2009 07:15 PM
yum 'urlopen error (-2, 'Name or service not known')' gozza11 Linux - Networking 1 05-16-2006 01:26 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration