[CentOS] forcing Y on yum upgrades

Tue Oct 9 15:09:01 UTC 2007
Matthew Miller <mattdm at mattdm.org>

On Tue, Oct 09, 2007 at 04:36:55PM +0200, Lorenzo wrote:
> >I'd like to be able to do a "yum upgrade" without having to hit Y each 
> >time. While "yum install -y [program]}" seems to work, "yum -y upgrade" 
> >doesn't seem to.  Is there a way to easily do this?
> Does "yum -y upgrade --obsoletes" does the job?

That's redundant.

 yum -y update --obsoletes

is exactly equivalent to 

 yum -y upgrade

.
-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>