Re: yum clean policy question,

James Antill <[email protected]> Mon, 03 Dec 2012 11:43:22 -0500
Newsgroups gmane.linux.rpm.yum
Message-ID <[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?

 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.

-- 
James Antill -- [email protected]