LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 10-13-2010, 08:41 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question yum [Errno 4] IOError


Hi all,

whenever i give the command

yum install gcc
I am getting the following error message

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...64&repo=addons error was
[Errno 4] IOError: <urlopen error <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
>
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...x86_64&repo=os error was
[Errno 4] IOError: <urlopen error <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
>
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...epo=centosplus error was
[Errno 4] IOError: <urlopen error <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


output of the the command yum repolist enabled
is as follows:-

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...64&repo=addons error was
[Errno 4] IOError: <urlopen error <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
>
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...x86_64&repo=os error was
[Errno 4] IOError: <urlopen error <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
>
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...epo=centosplus error was
[Errno 4] IOError: <urlopen error <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


I am using centos 5.5 64 bit version

How to fix this error ?
 
Old 10-14-2010, 04:12 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,477

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
the error ? at this time i do not know
BUT "yum install gcc" is the WRONG command

Code:
yum grouplist
-- then from that list --

yum groupinstall " Development Tools" Development Librarys " 

-- and the optional " Gnome Development "

but as to the error ?
what did you do last ? Before this started , what did you install ?
 
Old 10-16-2010, 11:13 AM   #3
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Original Poster
Rep: Reputation: 36
Lightbulb

thanks for that information, BTW , my IO error disappeared when I changed my address of my proxy server.
 
Old 10-16-2010, 04:23 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,477

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
Quote:
thanks for that information, BTW , my IO error disappeared when I changed my address of my proxy server.
the fact you were using a proxy in the FIRST place would have been very nice to know about in the first post
 
  


Reply

Tags
yum


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
Prob with yum: [Errno -1] Metadata file does not match checksum Trying other mirro tor_user Fedora 25 10-15-2013 06:07 PM
Yum IOError Styles Linux - Newbie 27 09-20-2011 04:36 PM
yum IOError: <urlopen error unknown url type: media> yuanjunliang Linux - Server 2 01-27-2010 08:29 PM
Help!! Yum Ioerror? sean_zhang Linux - Software 2 01-12-2009 08:15 PM
Yum Errno -1 after installing gimp2 from fedora.us - testing resiak Linux - Software 1 08-15-2005 06:40 PM


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

Main Menu
Advertisement
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