[Yum] yum clean policy question,
Łukasz Tasz
lukasz at tasz.eu
Mon Dec 3 19:11:32 UTC 2012
Hi,
2012/12/3 James Antill <james-yum at and.org>:
> Łukasz Tasz <lukasz at tasz.eu> writes:
>
>> Hi all,
>>
>> I have small question,
>> Let's say about production environment, and update of software.
>> What is the recommendation, relay on yum metadata handling, and call
>> all of the time yum update -y --enablerepo=myrepo,
>>
>> or to eliminate any kind of risks and to be 100% sure that update will
>> go smooth call additional yum clean all --enablerepo=myrepo?
>>
>> what experts recommends?
>
> I'm not sure what the --enablerepo is for?
If repo is disabled, then also for clean it must be enabled.
>
> Anyway, assuming the repos. you are using aren't completely insane
> then there should be no need to ever call "yum clean". Even in a case
> where you'd want to turn metadata_expire off, you should only ever
> need to call "yum clean expire-cache" ... anything more than that
> implies something is pretty broken.
sometimes pretty broken means simply changed... and metadata does not
reflect configuration of repos...
That's why I'm trying to dig for right approach - policy,
thanks for answer!
Lukasz
More information about the Yum
mailing list