[software-management-guide] New yum.conf files in extras

Guillermo Gómez gomix at fedoraproject.org
Tue Sep 3 12:49:59 UTC 2013


commit ec8f828268d531219c31956ab29508ff64074323
Author: Guillermo Gómez <gomix at fedoraproject.org>
Date:   Tue Sep 3 08:19:50 2013 -0430

    New yum.conf files in extras

 .../Configuracion_de_YUM/yum.conf.default.txt      |   23 ++++++++++++++++++++
 .../Configuracion_de_YUM/yum.conf.prioridad.txt    |   12 ++++++++++
 2 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/es-ES/extras/Configuracion_de_YUM/yum.conf.default.txt b/es-ES/extras/Configuracion_de_YUM/yum.conf.default.txt
new file mode 100644
index 0000000..9837f10
--- /dev/null
+++ b/es-ES/extras/Configuracion_de_YUM/yum.conf.default.txt
@@ -0,0 +1,23 @@
+[main]
+cachedir=/var/cache/yum/$basearch/$releasever
+keepcache=0
+debuglevel=2
+logfile=/var/log/yum.log
+exactarch=1
+obsoletes=1
+gpgcheck=1
+plugins=1
+installonly_limit=3
+
+#  This is the default, if you make this bigger yum won't see if the metadata
+# is newer on the remote and so you'll "gain" the bandwidth of not having to
+# download the new metadata and "pay" for it by yum not having correct
+# information.
+#  It is esp. important, to have correct metadata, for distributions like
+# Fedora which don't keep old packages around. If you don't like this checking
+# interupting your command line usage, it's much better to have something
+# manually check the metadata once an hour (yum-updatesd will do this).
+# metadata_expire=90m
+
+# PUT YOUR REPOS HERE OR IN separate files named file.repo
+# in /etc/yum.repos.d
diff --git a/es-ES/extras/Configuracion_de_YUM/yum.conf.prioridad.txt b/es-ES/extras/Configuracion_de_YUM/yum.conf.prioridad.txt
new file mode 100644
index 0000000..bc70ebc
--- /dev/null
+++ b/es-ES/extras/Configuracion_de_YUM/yum.conf.prioridad.txt
@@ -0,0 +1,12 @@
+[fedora]
+name=Fedora $releasever - $basearch
+failovermethod=priority
+baseurl=http://mirepo.org/$releasever/$basearch/os/
+	http://otrorepo.org/$releasever/$basearch/os/
+
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basear
+
+enabled=1
+metadata_expire=7d
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch


More information about the docs-commits mailing list