On Tue, 17 Apr 2012 10:06:50 +0100, FM (Frank) wrote:
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?
There's the "repomanage" tool, which can be told to keep N old package releases in a repo. That implies that you maintain a repo with your own script(s). Of course, you could still use yum-plugin-local to populate its local repo (with packages you use/need) and copy/move packages from there to your real repo.