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 ?