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