errors using yum to install from fedora (5) core repositories
Python
python at venix.com
Fri Aug 4 20:11:01 EDT 2006
I've been unable to to install packages from the fedora core
repositories (and mirrors). Here's an example of what happens:
# yum install hexedit
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/RPMS/hexedit-1.2.12-3.2.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/i386/os/RPMS/hexedit-1.2.12-3.2.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
http://ftp.fi.muni.cz/pub/linux/fedora-core/5/i386/os/RPMS/hexedit-1.2.12-3.2.i386.rpm: [Errno 4] IOError: [Errno ftp error] 550 RPMS: No such file or directoryTrying other mirror.
ftp://ftp.tu-chemnitz.de/pub/linux/fedora-core/5/i386/os/RPMS/hexedit-1.2.12-3.2.i386.rpm: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
ftp://ftp.wsisiz.edu.pl/pub/linux/fedora/linux/core/5/i386/os/RPMS/hexedit-1.2.12-3.2.i386.rpm: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
.....
The URL's that are being tried do not exist.
Looking at the first URL,
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/RPMS/
^^^^^
The RPMS at the end does not get listed in the os directory. Could all
of the core control files have gotten mangled to provide defective
URL's? My fedora-core.repo config file specifies the URL through to os/
(http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/)
I poked around the repodata directory that can be found under os. The
url for hexedit is
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/hexedit-1.2.12-3.2.i386.rpm
NOTE that it inserts Fedora/ between os/ and RPMS/. So I tried changing
the fedora-core.repo file at append Fedora/ to the URL. This appears to
have fixed things.
I'm surprised that this kind of change would have been made with no
notice. (At least I did not see it in the Fedora News). I am attaching
my revised file in case others are having similar difficulties and this
proves helpful.
--
Lloyd Kvam
Venix Corp
-------------- next part --------------
[core]
name=Fedora Core $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/Fedora/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
More information about the gnhlug-discuss
mailing list