Re: stop stupidly telling people to do "yum clean all" when it's not necessary



On Tue, 2009-09-15 at 14:34 -0700, Alan Evans wrote:
I have myself found that "yum clean all" apparently fixes many
problems even when I'm not sure why it should. When I have a problem
updating, I usually start with cleaning the cache and metadata just to
establish a baseline. Ninety percent of the time, this first step
makes my problem go away. But apparently that approach means I'm
stupid.

Have you tried "yum clean metadata" in any of these cases, rather than
"yum clean all"? If not, how do you know that the former would not have
worked?

My personal experience is that cleaning metadata has *always* fixed
problems without the need for cleaning the cache. That may not be
everyone's experience, but it is mine. Even if it doesn't always work,
it is always faster, and doesn't stop you cleaning the cache later if
you need to. IOW the sensible procedure is:

yum clean metadata
iff that doesn't solve the problem: yum clean all

poc

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: stop stupidly telling people to do "yum clean all" when its not necessary
    ... Have you tried "yum clean metadata" in any of these cases, ... My personal experience is that cleaning metadata has *always* fixed ... problems without the need for cleaning the cache. ...
    (Fedora)
  • Re: yum update of glibc needs space thats already there
    ... you should probably try cleaning out various cache files you may have sitting around, a 2GB drive doesn't give you alot of room to play around with in a modern distribution. ... it sounds like you may need to do some spring cleaning, or hunting for packages you never use to clean up that last bit of space. ...
    (Fedora)
  • Re: stop stupidly telling people to do "yum clean all" when its not necessary
    ... Have you tried "yum clean metadata" in any of these cases, ... My personal experience is that cleaning metadata has *always* fixed ... problems without the need for cleaning the cache. ...
    (Fedora)
  • Re: Updating methods
    ... to my userid on her machine, then su -, then yum clean all followed by ... cache, i.e. it effectively negates any advantage of using the cache at ... metadata" which keeps the package rpms themselves) but it's definitely ...
    (Fedora)
  • Re: Very fast file system access
    ... you've said you're considering don't have *more* 'latency' than a good NFS implementation does? ... I suspect that the value of N may be less important than the value of N multiplied by the average host load (both in terms of requests-per-second and aggregate bandwidth). ... metadata or cache or lock issues. ...
    (comp.arch.storage)