Quote:
Originally Posted by linmix
|
Thank you, this just saved my bacon:
here was my situation:
trying to install dnsmasq:
Code:
# yum install dnsmasq
yielded the following error message:
Code:
Setting up Install Process
Setting up repositories
http://apt.sw.be/fedora/4/en/i386/dag/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Sat, 29 Dec 2007 16:10:18 GMT
Server: Apache/2.2.6 (Unix)
Content-Length: 310
Content-Type: text/html; charset=iso-8859-1
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.
here's /etc/yum.conf:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
I followed your link, found instructions for FC4
here
I followed the instructions verbatim; the only hitch was that when I reran
Code:
# yum install dnsmasq
I got the following:
Code:
Setting up Install Process
Setting up repositories
Cannot find a valid baseurl for repo: livna
I edited /etc/yum.repos.d/livna.repo and uncommented the line
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn/
in the section
[livna]
Code:
[livna]
name=Livna.org - Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn/
mirrorlist=http://rpm.livna.org/mirrorlist
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
enabled=1
[livna-testing]
name=Livna.org - Fedora Compatible Packages (testing)
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn-testing
mirrorlist=http://rpm.livna.org/mirrorlist-testing
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
enabled=0
After I made this change, yum installed the package, apparently correctly (I haven't configured dnsmasq yet)