[CentOS] yum clean all - adverse effects?

Jussi Hirvi greenspot at greenspot.fi
Wed Nov 4 09:30:15 UTC 2009


On 4.11.2009 11:00, Timo Schoeler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> thus Jussi Hirvi spake:
> | Are there any adverse effects to "yum clean all"? Does the system
> | lose its memory of what is installed/updated?
> |
> | Regards, Jussi H.
> 
> Hi Jussi,
> 
> from the manpage:
> 
> clean
> Is  used  to clean up various things which accumulate in the yum
> ~       cache directory over time.  More complete details can  be  found
> ~              in the Clean Options section below.
> 
> In this section:
> 
> yum clean all
> Runs  yum  clean packages and yum clean headers, yum clean meta-
> ~      data and yum clean dbcache as above.
> 
> It's all about *caching*. No information about installed packages will
> be lost.
> 
> Really important information is stored in /var/lib/rpm/.
> 
> HTH,
> 
> Timo

Ok, thanks. Once, a while ago, my system got amnesiac after "yum clean 
all", and I thought the the dbs in /var/lib/rpm had been "cleaned". But 
I guess the problem was caused by something other than "yum clean".

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi * http://www.greenspot.fi


More information about the CentOS mailing list