/etc/yum.conf
D. Hugh Redelmeier
hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Sat Sep 12 06:29:21 UTC 2009
| From: David Tilbrook <dt-hKuJ9UrQZDM at public.gmane.org>
| Somehow I appear to have corrupted my /etc/yum.conf
| and lost my base url and who knows what else.
|
| Could Redhatter mail a legit /etc/yum.conf to me.
What are the symptoms? There are no URLs in yum.conf. They show up
in files within /etc/yum.repos.d/
I've included the yum.conf from a Fedora Core 5 system I have
(probably closer to your system than my Fedora Core 11).
On that system:
$ rpm -qf /etc/yum.repos.d/fedora-core.repo
fedora-release-5-5
You could try (adjusted for your release):
$ rpm -V fedora-release-5-5
That would tell you what .repo files got munged (if any).
On my system, it prints:
S.5....T c /etc/yum.repos.d/fedora-updates.repo
but that is expected because I had manually edited that file.
================ start of file ================
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
================ end ================
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list