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