[CentOS] forcing Y on yum upgrades

Matthew Miller mattdm at mattdm.org
Tue Oct 9 14:37:04 UTC 2007


On Tue, Oct 09, 2007 at 03:34:28PM +0100, Steve Searle 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?
> "yum -y update" works for me, although "man yum" shows there is a small
> difference between update and upgrade.

Although processing obsoletes is now the default for yum update too, so the
difference is only sigificant if you've intentionally turned that off.

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



More information about the CentOS mailing list