On Mon, May 05, 2008 at 11:20:03AM +0200, Marcel J.E. Mol wrote: > On Sun, Apr 27, 2008 at 11:49:32PM +0100, Alan Cox wrote: > > > * Related to the last, no simple caching software. The last I knew, > > > there was no RPM analog to the Debian apt-cacher. This caches deb > > > > RPM doesn't need a specialist tool for this thankfully. Squid and similar > > generic caching setups can handle it quite nicely. It is true we don't > > have a package that does that setup in one go (or I've not found it > > anyway). > > > > I just nfs share /var/cache/yum across the machines and configure yum > not to delete downloaded packages. > The only thing I still need is a tool to cleanup the packages dirs from > old package version (e.g. only keep the latest version). > > -Marcel > Try this: mkdir oldrpms cd oldrpms repomanage -o /var/cache/yum/>oldrpmslist for x in `cat oldrpmslist`; do mv $x .;done du -m rm -f *.rpm repomanage is in yum-utils package. HTH -- vikram... |||||||| |||||||| ^^'''''^^||root||^^^'''''''^^ // \\ )) //(( \\// \\ // /\\ || \\ || / )) (( \\ -- BEWARE! People acting under the influence of human nature. -- ~|~ = -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list