[CentOS] forcing Y on yum upgrades

Tue Oct 9 14:36:55 UTC 2007
Lorenzo <lorenzo at gmk.it>

Rogelio Bastardo ha scritto:
> 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?

Regards

Lorenzo