[Yum] yum clean policy question,
James Antill
james-yum at and.org
Mon Dec 3 16:43:22 UTC 2012
Ł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?
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 -- james at and.org
More information about the Yum
mailing list