"Rodolfo J. Paiz" <[EMAIL PROTECTED]> writes:

> At 3/29/01 05:05 PM -0700, you wrote:
> >Take a look at autorpm. Here's the info from the rpm...
> >
> >Summary: An RPM auto-installer and FTP site mirroring program.
> >Description:
> >The AutoRPM program can mirror RPMs from an FTP site, keep installed
> >RPMs consistent with an FTP site or local directory, and keep
> >installed RPMs in a cluster or network of systems consistent.  AutoRPM
> >is designed to be highly flexible and provides a useful menu-driven
> >Interactive-Install mode.
> 
> 1.) Can autorpm be set to download but *not* install?

This is not what you asked but I hoped with a litte description of
what rsync can do then someone who knows autorpm could show how its
better or different or what ever.

Also I think you mentioned you were having trouble with rsync.  Maybe
something here will be helpful to you.

What rsync can do when run on a cron job is build you a mirror of
redhats updates directory.  You can set it to exclude what ever you
want.

Say redhats directoy looks like /blah/blah/updates  With these
directories under updates:
SRPMS  alpha  alphaev6  i386  i586  i686  images  noarch

Thats how my mirror looks.  I've set rsync to create the directories
but the only ones with files are the ones I use i386 i586 i686 images
noarch SRPMS.

So I have set rsync to exclude alphaev6/* and alpha/*.

Cron runs my rsync command once a week and it downloads any new updates
and deletes any in my directories that are no longer on redhats
updates directory. 

Any installing or the like is up to me.

The command looks like:
rsync -avv --size-only --stats --delete --include "*/" \ 
--exclude "alpha/*" --exclude "alphaev6/*" --exclude ".nfs*"  \
 ftp.redhat.com::updates/7.0/ /mnt/hdc6/7.0up/

One drawback is you have the whole updates directory on your machine.
But I have 42 gigs on a single user machine so thats not an issue.

Other factors are that there is no provision for comparing whats
installed with what is available.  Except by home made scripts or
whatever. 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to