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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20071009/a8a3f021/attachment-0004.html>
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-0004.sig>
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
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/>