[CentOS] forcing Y on yum upgrades
lorenzo at gmk.it
Tue Oct 9 15:13:45 UTC 2007
Matthew Miller ha scritto:
> 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
I agree, but Rogelio said that yum -y upgrade didn't work, and I was wondering
if the problem was with upgrade not handling correctly the -y switch.
More information about the CentOS