Re: yum clean policy question,

Łukasz Tasz <[email protected]> Mon, 3 Dec 2012 20:11:32 +0100
Newsgroups gmane.linux.rpm.yum
Message-ID <CAGRr-Ng_GE6NHStEZ8ueGB7cMsDDJZOCAM3_LxqNu0VUPb7NnQ@mail.gmail.com>
Hi,

2012/12/3 James Antill <[email protected]>:
> Łukasz Tasz <[email protected]> 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
_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum