Re: Update mirror http://ftp.informatik.uni-frankfurt.de/fedora/core/updates/6/$ARCH/ fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joachim Backes wrote:
> This is what I get:

> yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> Setting up repositories
> livna                     100% |=========================| 1.1 kB    00:00
> core                      100% |=========================| 1.1 kB    00:00
> updates                   100% |=========================| 1.2 kB    00:00
> extras                    100% |=========================| 1.1 kB    00:00
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Downloading header for tcsh to pack into transaction set.
> http://ftp.informatik.uni-frankfurt.de/fedora/core/updates/6/i386/tcsh-6.14-12.i386.rpm: 
> [Errno 14] HTTP Error 404: Date: Tue, 31 Oct 2006 08:42:49 GMT
> Server: Apache/2.0.53 (Fedora)
> Content-Length: 343
> Connection: close
> Content-Type: text/html; charset=iso-8859-1

> Trying other mirror.
> Error: failure: tcsh-6.14-12.i386.rpm from updates: [Errno 256] No
> more mirrors to try.

I saw something similar today.

I "fixed" it by changing the line
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
to
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&country=eu&arch=$basearch
in /etc/yum.repos.d/fedora-updates.repo .

mirrors.fedoraproject.org will send you a list of mirrors for your
country, based on your IP address. This is a problem if there is only
one mirror for your country which isn't updated very often.

You can over-ride this by specifying a particular country in the URL. If
the country code exists, mirrors.fedoraproject.org recognises it, and
there are mirrors it thinks are valid, it will send you a list of
mirrors.

If the server *doesn't* recognise the country code, then it reverts to
telling you all the mirrors that it knows about. This is effectively
what happened anyway for FC5.

This solution has the advantage that you have more mirrors from which
yum can attempt downloads, which makes things more reliable. It also
means that you automatically pick up on any new mirrors (or any mirrors
that stop mirroring), and you aren't just dependent on Fedora Project
servers (which can get swamped).

It has the disadvantage that you will connect to servers that are
further away from you, which may increase download time.

Using the country code "eu" means that if the Fedora Project ever do
publish a Europe-wide list of mirrors, you're likely to pick that up.

Hope this helps,

James.
-- 
E-mail:     james@ | You can accept the existence of rain without denying the
aprilcottage.co.uk | existence of umbrellas.
                   |     -- http://ozyandmillie.org/2006/om20060615.html


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux