Following advice on how to ensure that PHP and MySQL are on my machine and working correctly, I ran the following YUM command, with the subsequent error:
[root@localhost ~]# yum install php php-mysql httpd mysqlclient10 mysql- server Setting up Install Process Setting up Repos http://apt.sw.be/redhat/el4/en/i386/dag/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (113, 'No route to host')> Trying other mirror. Cannot open/read repomd.xml file for repository: dag failure: repodata/repomd.xml from dag: [Errno 256] No more mirrors to try.
Unless I am misunderstanding this error (which is quite likely), it seems to indicate that YUM can not reach the online repositories. Is that the case?
Or does the problem reside on my end?
Dave
On Mon, 2005-09-19 at 18:51 +0900, Dave Gutteridge wrote:
Following advice on how to ensure that PHP and MySQL are on my machine and working correctly, I ran the following YUM command, with the subsequent error:
[root@localhost ~]# yum install php php-mysql httpd mysqlclient10 mysql- server Setting up Install Process Setting up Repos http://apt.sw.be/redhat/el4/en/i386/dag/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (113, 'No route to host')> Trying other mirror. Cannot open/read repomd.xml file for repository: dag failure: repodata/repomd.xml from dag: [Errno 256] No more mirrors to try.
Unless I am misunderstanding this error (which is quite likely), it seems to indicate that YUM can not reach the online repositories. Is that the case?
Or does the problem reside on my end?
It means that yum can't reach the machine that hosts the dag repo. Where the blame should be laid for this is a different issue. traceroute should be able to help you diagnose it.
Dave Gutteridge wrote:
http://apt.sw.be/redhat/el4/en/i386/dag/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (113, 'No route to host')> Trying other mirror.
I see that problem from here as well, and apt.sw.be is indeed not available at this time. Take a look at this link for some mirrors:
http://dag.wieers.com/home-made/apt/links.php
the one I use ( and is working at the moment ) :
http://www.mirrorservice.org/sites/apt.sw.be/
- K
I see that problem from here as well, and apt.sw.be is indeed not available at this time. the one I use ( and is working at the moment ) : http://www.mirrorservice.org/sites/apt.sw.be/
I think I installed the mirror you recommended. Why I say "I think" is that I put the URL for that mirror inside the file /etc/yum.repos.d/dag.repo like so:
[dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
name=Dag RPM Repository for Red Hat Enterprise Linux Mirror http://www.mirrorservice.org/sites/apt.sw.be/
And then I ran the YUM install command again, and it worked.
But I notived it ran without saying anything about checking mirrors, so perhaps the original Dag repository just happened to start working again anyway.
So... do I have the mirror URL reference in the right place?
Dave
Dave Gutteridge wrote:
I think I installed the mirror you recommended. Why I say "I think" is that I put the URL for that mirror inside the file /etc/yum.repos.d/dag.repo like so:
[dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
name=Dag RPM Repository for Red Hat Enterprise Linux Mirror http://www.mirrorservice.org/sites/apt.sw.be/
And then I ran the YUM install command again, and it worked.
ok, the reason why it worked is that http://apt.sw.be/ is now working again. The new URL you have added in there, is not being used.
So... do I have the mirror URL reference in the right place?
nope :) here is what you want to change that part of the config file to (also at http://pastebin.ca/23339 ) :
[dag] name=Dag RPM Repository for EL gpgcheck=1 enabled=1 baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
http://www.mirrorservice.org/sites/apt.sw.be/redhat/el$releasever/en/$basear...
On Mon, 2005-09-19 at 20:58 +0900, Dave Gutteridge wrote:
here is what you want to change that part of the config file to
Thank you for that helpful advice. I suppose I can not verify that the mirror is working unless Dag goes down again, but it seems straightforward enough.
Commenting out the original baseurl entry will allow you to test it.
centos-bounces@centos.org <> scribbled on Monday, September 19, 2005 6:25 AM:
I see that problem from here as well, and apt.sw.be is indeed not available at this time. the one I use ( and is working at the moment ) : http://www.mirrorservice.org/sites/apt.sw.be/
I think I installed the mirror you recommended. Why I say "I think" is that I put the URL for that mirror inside the file /etc/yum.repos.d/dag.repo like so:
[dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
name=Dag RPM Repository for Red Hat Enterprise Linux Mirror http://www.mirrorservice.org/sites/apt.sw.be/
And then I ran the YUM install command again, and it worked.
But I notived it ran without saying anything about checking mirrors, so perhaps the original Dag repository just happened to start working again anyway.
So... do I have the mirror URL reference in the right place?
Dave
The URL should be:
http://www.mirrorservice.org/sites/apt.sw.be/redhat/el$releasever/en/$basear ch/dag
Mike
On Mon, 2005-09-19 at 04:51, Dave Gutteridge wrote:
Following advice on how to ensure that PHP and MySQL are on my machine and working correctly, I ran the following YUM command, with the subsequent error:
[root@localhost ~]# yum install php php-mysql httpd mysqlclient10 mysql- server Setting up Install Process Setting up Repos http://apt.sw.be/redhat/el4/en/i386/dag/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (113, 'No route to host')> Trying other mirror. Cannot open/read repomd.xml file for repository: dag failure: repodata/repomd.xml from dag: [Errno 256] No more mirrors to try.
Unless I am misunderstanding this error (which is quite likely), it seems to indicate that YUM can not reach the online repositories. Is that the case?
That doesn't look like the standard Centos yum repository. Did you modify your yum configuration - you shouldn't need to for packages that are part of the stock distribution.