[Yum] Assuming yes with YUM

Konstantin Ryabitsev icon at fedoraproject.org
Thu Feb 2 18:45:15 UTC 2006


Ream, Jeff - BMG Columbia House, Inc wrote:
> I am using YUM to patch several servers via a process of remote login 
> with SSH and will be executing the “YUM update [package] command via 
> perl script to many servers in sequence. Since I am picking the packages 
> in advance, I am assuming that what ever needs to take place to update 
> the package should be OK.
> 
> Is there a situation in which YES might not be the correct response? 
> Since I am picking the packages in advance, I am assuming that what ever 
> needs to take place to update the package should be OK. I realize that 
> there may be some dependencies that may also require updating as well.

Normally, "-y" is a sane option for scripts where the admin has 
pre-selected the packages.

Regards,
-- 
Konstantin Ryabitsev
McGill University WSG

Book: "The destination's not important.  How you get there's the
worthier part."
  				--Episode #1, "Serenity"



More information about the Yum mailing list