store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Mon Oct 14, 2019 10:22 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: yum upgrade vs yum update
Unread postPosted: Wed Oct 22, 2014 9:24 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
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....

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
Reply with quote  
 Post subject: Re: yum upgrade vs yum update
Unread postPosted: Wed Oct 22, 2014 3:21 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
Meh, the yum.conf or whatever settings arent going to be super consistent. Better to assume the worst and save yourself a lot of time.


Top
 Profile  
Reply with quote  
 Post subject: Re: yum upgrade vs yum update
Unread postPosted: Thu Oct 23, 2014 6:37 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
Oh, so its one of those things. You'd think something as important as software upgrades would not be even slightly unpredictable. :-)

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
Reply with quote  
 Post subject: Re: yum upgrade vs yum update
Unread postPosted: Mon Oct 27, 2014 6:55 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 01, 2006 2:45 pm
Posts: 573
Location: Netherlands
obsoletes=1 has been the default in CentOS for a while. So, yum update == yum upgrade on a CentOS system.

Totally predictable updates imho! :)

_________________
Lemonbit Internet Dedicated Server Management


Last edited by prupert on Tue Oct 28, 2014 2:18 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: yum upgrade vs yum update
Unread postPosted: Mon Oct 27, 2014 8:22 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
So you're saying I can bill you for that when it isnt right?


Top
 Profile  
Reply with quote  
 Post subject: Re: yum upgrade vs yum update
Unread postPosted: Tue Oct 28, 2014 5:15 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 01, 2006 2:45 pm
Posts: 573
Location: Netherlands
scott wrote:
So you're saying I can bill you for that when it isnt right?


Sure. ;-)

"obsoletes=1" is the **default** in /etc/yum.conf. Thus, yum update/upgrade are exactly the same, unless you explicitly told yum otherwise by modifying the yum.conf.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
Reply with quote  
 Post subject: Re: yum upgrade vs yum update
Unread postPosted: Tue Oct 28, 2014 4:02 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 8329
Location: earth
Deal!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group