[Yum] Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try. (fwd)

antonio montagnani antonio.montagnani at gmail.com
Tue Apr 4 07:29:30 UTC 2006


2006/4/4, Vincent von Kaenel <yum at von-kaenel.com>:
> On my system, I found a temporary fix for this issue. First, I updated to
> FC5 and still had exacly the same issue with yum: I alway get Error:
> failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try
>
> The wget experiment (see below) gave the same results as it did with FC4.
> So it does not seem to be fixed by moving to FC5 or it is not exclusively
> an issue with FC4.
>
> Now the fix is hard coding the baseurl server IP address in the yum.conf
> file:
>
> baseurl=http://209.132.176.220/pub/fedora/linux/core/$releasever/$basearch/os/
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
>
> This has allowed me to update my files using yum....
>
> The wget experiment gives now (FC5):
>
> [root at bularung ~]# wget http://209.132.176.220/pub/
> --15:15:54--  http://209.132.176.220/pub/
>             => `index.html'
> Connecting to 209.132.176.220:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
>
>      [ <=>
> ] 6,752         --.--K/s
>
> 15:15:55 (67.84 KB/s) - `index.html' saved [6752]
>
> [root at bularung ~]# wget http://download.fedora.redhat.com/pub
> --15:16:09--  http://download.fedora.redhat.com/pub
>             => `pub'
> Resolving download.fedora.redhat.com... failed: No such file or directory.
>
> This seems to pint at some DNS issues but if I do:
> #nslookup download.fedora.redhat.com
> Server:         192.168.1.2
> Address:        192.168.1.2#53
>
> Non-authoritative answer:
> Name:   download.fedora.redhat.com
> Address: 66.187.224.20
> Name:   download.fedora.redhat.com
> Address: 209.132.176.20
> Name:   download.fedora.redhat.com
> Address: 209.132.176.220
> Name:   download.fedora.redhat.com
> Address: 209.132.176.221
>
> I got the IP...
>
> Hope that would help.
>
> Vincent
>
>   On Mon, 27 Mar 2006, Vincent von Kaenel wrote:
>
> >Date: Mon, 27 Mar 2006 13:53:48 -0800 (PST)
> >From: Vincent von Kaenel <yum at von-kaenel.com>
> >To: Yum at lists.dulug.duke.edu
> >Subject: [Yum] Error: failure: repodata/repomd.xml from base: [Errno 256] No
> >    more mirrors to try. (fwd)
> >
> > I have a FC4 linux box and used yum regularely until approximately a month
> > ago. I have similar issue than Siddharth Seth. When I run yum update I get:
> >
> > Yum Version: 2.4.1
> > COMMAND: yum
> > Installroot: /
> > Setting up Update Process
> > Setting up repositories
> > Baseurl(s) for repo: ['http://mirrors.kernel.org/fedora/core/4/i386/os/']
> > Cannot open/read repomd.xml file for repository: base
> > failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
> > Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to
> > try.
> >
> >
> > I also tried the wget proposition made earlier by one member:
> >
> > [root at bularung etc]# wget --inet4-only
> > http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml
> > --10:03:05--
> > http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml
> >           => `repomd.xml.2'
> > Resolving mirrors.kernel.org... 204.152.191.7, 204.152.191.39
> > Connecting to mirrors.kernel.org|204.152.191.7|:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 1,140 (1.1K) [text/xml]
> >
> > 100%[==================================================================================================================>]
> > 1,140         --.--K/s
> >
> > 10:03:06 (238.54 KB/s) - `repomd.xml.2' saved [1140/1140]
> >
> > [root at bularung etc]# wget --inet6-only
> > http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml
> > --10:03:13--
> > http://mirrors.kernel.org/fedora/core/4/i386/os/repodata/repomd.xml
> >           => `repomd.xml.3'
> > Resolving mirrors.kernel.org... failed: Name or service not known.
> >
> >
> > So it works for inet4 but not 6...
> >
> > I'm looking for some help to fix this issue or a pointer to someone who has
> > fixed it already.
> >
> > Thanks
> >
> >
> >
>
> --
> -------------------------------------------------------
>
> Vincent von Kaenel
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>

the solution is to have the correct nsswitch.conf file in /etc.
Have a look to other threads posted yesterday
--
Antonio Montagnani
Skype : antoniomontag



More information about the Yum mailing list