Projects / Tidy RPM Cache script

Tidy RPM Cache script

tidy-rpm-cache.py is a Python script that removes RPM package files from a cache (i.e. a collection of directories) if a newer version of that package exists. It may be useful if you wish to minimize the disk space used by locally stored update packages. You can specify any number of paths of directories to search, and you can also exclude specific packages from being tested for obsolescence.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  11 Dec 2009 18:49

Release Notes: This revision fixes a bug where the script would exit if an incorrectly-formatted regular expression was supplied in the exclude option. The compilation of the expressions has also been improved. This revision also fixes a bug where some packages with the '.' symbol in the filename were not identified as separate packages (e.g. openoffice.org-core and openoffice.org-writer). This revision contains no other functionality changes.

  •  09 Nov 2009 13:54

Release Notes: A bug in the results table formatting code that could cause the script to quit unexpectedly was fixed.

  •  27 Oct 2009 14:44

Release Notes: The script now only compares RPM package files with the same package name and architecture. If you want to disregard the architecture attribute (i.e. go back to the old behavior), then use the command-line option --ignore-arch.

  •  16 Oct 2009 17:33

Release Notes: The script has been renamed from 'rm_obsolete_rpms.py' to 'tidy-rpm-cache.py' to clarify its purpose and to distinguish from the functionality in RPM relating to obsolete package files.

  •  15 Oct 2009 21:06

    Release Notes: All warnings related to RPM headers are now printed after scanning is complete. Printing of warnings can also be disabled. A bug where obsolete versions of packages would not be processed if only one package existed has been fixed.

    Screenshot

    Project Spotlight

    Wolf Software HTTP Ping Class

    A simple script for pinging Web sites.

    Screenshot

    Project Spotlight

    Libiqxmlrpc

    An object-oriented XML-RPC C++ library.