RPM consistency across systems

Ben Steeves bcs at metacon.ca
Sun Jun 13 15:04:14 UTC 2004


On Sun, 2004-13-06 at 08:00 -0700, Erik Espinoza wrote:
>  
> > Any advice on how to accomplish this goal?
> > I guess on my server machine I could keep a "master RPM list" and then have a cron
> > run on each machine against that list.  But I don't want to maintain that list by hand.
> > 

You can get a list of all the RPMs on a machine with the command "rpm -
q".  Use that to generate a list on both machines, then compare them,
probably using diff.  Write a little perl (or whatever you prefer) to
then parse the diff and perform the appropriate actions.

-- 
Ben Steeves                     _                    bcs at metacon.ca
 The ASCII ribbon campaign     ( )               ben.steeves at unb.ca
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/ascii    / \     Yahoo Messenger: ben_steeves





More information about the fedora-list mailing list