Blame SOURCES/yum.conf.centos
|
Karanbir Singh |
e1cfeb |
[main]
|
|
Karanbir Singh |
e1cfeb |
cachedir=/var/cache/yum/$basearch/$releasever
|
|
Karanbir Singh |
e1cfeb |
keepcache=0
|
|
Karanbir Singh |
e1cfeb |
debuglevel=2
|
|
Karanbir Singh |
e1cfeb |
logfile=/var/log/yum.log
|
|
Karanbir Singh |
e1cfeb |
exactarch=1
|
|
Karanbir Singh |
e1cfeb |
obsoletes=1
|
|
Karanbir Singh |
e1cfeb |
gpgcheck=1
|
|
Karanbir Singh |
e1cfeb |
plugins=1
|
|
Karanbir Singh |
e1cfeb |
installonly_limit=5
|
|
Karanbir Singh |
e1cfeb |
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
|
|
Karanbir Singh |
e1cfeb |
distroverpkg=centos-release
|
|
Karanbir Singh |
e1cfeb |
|
|
Karanbir Singh |
e1cfeb |
|
|
Karanbir Singh |
e1cfeb |
# This is the default, if you make this bigger yum won't see if the metadata
|
|
Karanbir Singh |
e1cfeb |
# is newer on the remote and so you'll "gain" the bandwidth of not having to
|
|
Karanbir Singh |
e1cfeb |
# download the new metadata and "pay" for it by yum not having correct
|
|
Karanbir Singh |
e1cfeb |
# information.
|
|
Karanbir Singh |
e1cfeb |
# It is esp. important, to have correct metadata, for distributions like
|
|
Karanbir Singh |
e1cfeb |
# Fedora which don't keep old packages around. If you don't like this checking
|
|
Karanbir Singh |
e1cfeb |
# interupting your command line usage, it's much better to have something
|
|
Karanbir Singh |
e1cfeb |
# manually check the metadata once an hour (yum-updatesd will do this).
|
|
Karanbir Singh |
e1cfeb |
# metadata_expire=90m
|
|
Karanbir Singh |
e1cfeb |
|
|
Karanbir Singh |
e1cfeb |
# PUT YOUR REPOS HERE OR IN separate files named file.repo
|
|
Karanbir Singh |
e1cfeb |
# in /etc/yum.repos.d
|