LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-23-2008, 09:48 PM   #1
sean_zhang
LQ Newbie
 
Registered: Aug 2007
Posts: 26

Rep: Reputation: 15
Question Help!! Yum Ioerror?


OS: RHEL5.1
I created a local yum repo. It worked fine in the last a few months, but today I got the following error message when using yum to install rpms (yum list still works).
Quote:
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 nmap-frontend to pack into transaction set.
media://1192656534.547140%233/nmap-frontend-4.11-1.1.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve nmap-frontend-4.11-1.1.i386.rpm from Server
error was [Errno 4] IOError: <urlopen error unknown url type: media>
I also tried the pirut. Here is error message:

Quote:
Component: Software Manager
Summary: TBe634e670 __init__.py:767:downloadHeader:RepoError: failed to retrieve nmap-frontend-4.11-1.1.i386.rpm from Server
error was [Errno 4] IOError: <urlopen error unknown url type: media>

Traceback (most recent call last):
File "/usr/sbin/pirut", line 334, in _apply
self.applyChanges(self.mainwin)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 557, in applyChanges
self.checkDeps(mainwin)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 322, in checkDeps
self.populateTs(keepold=0)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 153, in populateTs
self.downloadHeader(txmbr.po)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 767, in downloadHeader
raise Errors.RepoError, saved_repo_error
RepoError: failed to retrieve nmap-frontend-4.11-1.1.i386.rpm from Server
error was [Errno 4] IOError: <urlopen error unknown url type: media>

Local variables in innermost frame:
errors: {}
e: [Errno 2] No such file or directory: '//var/cache/yum/Server/headers/nmap-frontend-4.11-1.1.i386.hdr'
self: <__main__.PackageManager object at 0x92ce1cc>
saved_repo_error: failed to retrieve nmap-frontend-4.11-1.1.i386.rpm from Server
error was [Errno 4] IOError: <urlopen error unknown url type: media>
repo: Server
checkfunc: (<bound method PackageManager.verifyHeader of <__main__.PackageManager object at 0x92ce1cc>>, (<yum.sqlitesack.YumAvailablePackageSqlite instance at 0x970fdcc>, 1), {})
local: //var/cache/yum/Server/headers/nmap-frontend-4.11-1.1.i386.hdr
po: nmap-frontend - 2:4.11-1.1.i386
Here is my repo file:
Quote:
baseurl=file:///Data/RHEL5.1/Server/
enabled=1
gpgcheck=0
I also tried (autofs works):
Quote:
baseurl=file:///misc/cd/Server/
enabled=1
gpgcheck=0
I searched on Google but still don't know why this happens. I used yum to install some rpms yesterday! But it symply doesn't work now.
I didn't change any thing on my system. Strange~~~
 
Old 05-25-2008, 09:07 AM   #2
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
http://www.mail-archive.com/oscar-de.../msg08631.html
 
Old 01-12-2009, 07:15 PM   #3
vakulb5678
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Cool yum giving error no.4 media not found

Hi Sean,

dear just try creating the repo again , by using createrepo command
i was also getting the sameissue but was able to overcome it by creating a new repo
hope this helps u out
 
  


Reply


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
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
yum.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 07:28 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 01:08 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM


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

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