Tidy-rpm-cache

From Notes_Wiki
Revision as of 05:33, 9 November 2012 by Saurabh (talk | contribs) (Created page with "=tidy-rpm-cache.py (previous rm_obsolete_rpms.py)= We can download latest version of tidy-rpm from internet and then use it to delete obsolete packages from yum-cahce. This s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

tidy-rpm-cache.py (previous rm_obsolete_rpms.py)

We can download latest version of tidy-rpm from internet and then use it to delete obsolete packages from yum-cahce. This script saves considerable disk-space and keeps only latest version of files in cache / repository.

To see list of obsolete RPMs inside a directory recursively and then get option of deleting obsolete RPMs use:

tidy-rpm-cache.py --dir=/var/cache/yum