On Sat, 2009-08-22 at 17:35 +0200, Adalbert Prokop wrote:
Patrick O'Callaghan schrieb:
Hello!
> As I said earlier, it would be useful to keep only the latest versions,
> i.e. when a package is updated, remove the old cached rpm. Maybe that's
> what keepcache=1 already does, but the man page is not clear.
You could use repomanage (a part of yum-utils package) to delete old
packages in the cache.
Thanks, I really wanted it to happen automatically but this could be a
good start. Perhaps if yum had a post-processing hook the user could
configure it to do this.
poc