Am 01.06.2012 01:13, schrieb Fernando Cassia:
> That sounds like the right way to do things.
> However, I looked at /etc/yum.conf and found nothing that resembles that.
> 
> [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
> exclude=openoffice.org-ure*,libreoffice-ure*

sometimes it is a good idea to read manuals!

"metadata_expire" is your friend and after that "yum clean metadata"
if you want to force the search for updates

http://linux.die.net/man/5/yum.conf

keepcache Either '1' or '0'.
Determines whether or not yum keeps the cache of headers and packages after 
successful installation.

metadata_expire Time (in seconds) after which the metadata will expire.
So that if the current metadata downloaded is less than this many seconds
old then yum will not update the metadata against the repository.
_________________________________-

[root@srv-rhsoft:~]$ cat /etc/yum.repos.d/fedora.repo
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
exclude=*.i686,dbmail*


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to