trouble in install mod_ssl

yuli chika asked:

I make some trouble in install mod_ssl on my centos5.5.

when I type: yum install mod_ssl

Some wrong happened for:

Loaded plugins: fastestmirror
Determining fastest mirrors
addons                                                   | 1.9 kB     00:00
base                                                     | 1.1 kB     00:00
extras                                                   | 2.1 kB     00:00
update                                                   | 1.9 kB     00:00 [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: utterramblings. Please verify its path and try again

I tried to clean caches,

yum clean packages
Loaded plugins: fastestmirror
0 package files removed

Then install again, still return the same error. I use apache 2.2.3, how to solve the problem? many thanks.

rpm -qa|grep httpd

My answer:

You have an invalid repository named utterramblings which is preventing yum from working.

Disable or remove the repository (most likely from /etc/yum.repos.d directory) and then try again.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.