Re: How to keep specified number of rpms in local repo?

2012-04-17 Thread Michael Schwendt
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.

-- 
Fedora release 17 (Beefy Miracle) - Linux 3.3.1-5.fc17.x86_64
loadavg: 0.09 0.24 0.24
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


SOLVED Re: How to keep specified number of rpms in local repo?

2012-04-17 Thread Frank Murphy

On 17/04/12 11:18, Michael Schwendt wrote:



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.



Thank you Michael,
Exactly what I was needing.


--
Regards,
Frank
Jack of all, fubars
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org