[ale] Yum automatic updates

Chris Fowler cfowler at outpostsentinel.com
Wed May 5 12:07:22 EDT 2004


On Wed, 2004-05-05 at 11:31, Stuffed Crust wrote:
> On Wed, May 05, 2004 at 10:30:35AM -0400, Chris Fowler wrote:
> > #!/usr/bin/perl
> > 
> > @LINES=`yum list installed`
> > 
> > foreach my $ref (@LINES) {
> >   $ref =~ m/$(\w+)\s/;
> >    next unless $1;
> >    system "yum update $1";
> > }
> 
> Wouldn't a straight "yum -y update" accomplish the same thing, and 
> considerably faster to boot, since it wouldn't try to check for updated 
> headers with every iteration of the loop?

I think you are right.  I thought one time it wanted to install all
updates.  Maybe I used the command 'install updates' ?

> 
>  - Pizza



More information about the Ale mailing list