Can someone give me a really WORKING yum.conf?
Tim
ignored_mailbox at yahoo.com.au
Thu May 10 09:41:06 UTC 2007
On Thu, 2007-05-10 at 14:30 +0530, Deboo ^ wrote:
> someone can paste me a working yum.conf file that I can just paste in
> yum.conf and instantly get the updates like apt ?
I don't know whether you're going to get a quick fix, that way. There's
more to it than just the yum.conf file. Mine's pasted below, it just
sets some options.
--------- begin below ---------
[main]
cachedir=/var/cache/yum
keepcache=1
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
--------- ends above ----------
The above mentioned /etc/yum.repos.d/ directory contains the files that
pertain to particular repos.
It might be easier to download the yum and fedora-release RPMs from a
mirror, and install them using RPM. That should set them up to work.
Playing cut and paste from e-mails is prone to errors, some times. As
things like line endings can get carriage returns added where they
shouldn't be, and whatnot.
--
(This box runs FC6, my others run FC4 & FC5, in case that's
important to the thread.)
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.
More information about the fedora-list
mailing list