[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RPM consistency across systems



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 metacon ca
 The ASCII ribbon campaign     ( )               ben steeves unb ca
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/ascii    / \     Yahoo Messenger: ben_steeves



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]