[CentOS] forcing Y on yum upgrades

Tue Oct 9 14:34:28 UTC 2007
Steve Searle <steve at stevesearle.com>

Around 03:27pm on Tuesday, October 09, 2007 (UK time), Rogelio Bastardo scrawled:

> 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?

"yum -y update" works for me, although "man yum" shows there is a small
difference between update and upgrade.

Steve

-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?

 15:33:26 up 10 days,  1:29,  2 users,  load average: 0.04, 0.10, 0.08
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20071009/388e933a/attachment-0005.sig>