yum upgrade vs yum update
Posted: Wed Oct 22, 2014 9:24 am
In another topic, there has been some discussion about using yum upgrade as opposed to yum update and how they do different things.
But do they really do something different these days?
I had done some research a while ago and was of the impression that "yum upgrade" was the same as "yum --obsoletes update".
Further, I thought that having "obsoletes=1" in yum.conf, which has been the case for most modern Centos versions for a while, made "--obsoletes" the default for a "yum update".
And so I thought that, as long as you have "obsoletes=1" in yum.conf then yum upgrade and yum update did the same thing.
But the post I mention has got me thinking I may be wrong....
But do they really do something different these days?
I had done some research a while ago and was of the impression that "yum upgrade" was the same as "yum --obsoletes update".
Further, I thought that having "obsoletes=1" in yum.conf, which has been the case for most modern Centos versions for a while, made "--obsoletes" the default for a "yum update".
And so I thought that, as long as you have "obsoletes=1" in yum.conf then yum upgrade and yum update did the same thing.
But the post I mention has got me thinking I may be wrong....