How to keep specified number of rpms in local repo?

Frank Murphy frankly3d at gmail.com
Tue Apr 17 09:06:50 UTC 2012


I have set up a local repo for testing.
It stores both 32\64 bit pkgs.

yum-local-plugin does not give an option to keep x number of rpms.
So how can I get to keep six version of each pkg max.
6 foo-$someversion-.i686.rpm
6 foo-$someversion-.x86_64.rpm
/path/to/_local.repo

This will enable me roll-back with rawhide testing,
but otherwise a general Q?

-- 
Regards,
Frank
"Jack of all, fubars"


More information about the users mailing list