Fedora Linux Support Community & Resources Center
  #1  
Old 23rd July 2009, 10:03 PM
Oponium Offline
Registered User
 
Join Date: Jul 2009
Age: 22
Posts: 9
yum update vs upgrade

Hi,

I was just wondering what the difference is between yum upgrade and yum update. Which one is recommended?

I noticed that yum update uses Presto, but I couldn't find if yum upgrade uses Presto (I'm assuming no).


Joseph
Reply With Quote
  #2  
Old 23rd July 2009, 10:09 PM
William Haller Offline
Registered User
 
Join Date: Jul 2005
Age: 54
Posts: 1,084
Yum upgrade is used when upgrading between releases of Fedora (F10 -> F11 for example). It relaxes some constraints as I understand it. Yum update is used for normal release maintenance.

As far as I know, upgrade (F10 -> F11) didn't have a presto release, although I hope F11 to F12 will.
Reply With Quote
  #3  
Old 23rd July 2009, 10:45 PM
CSchwangler Offline
Registered User
 
Join Date: Feb 2009
Posts: 2,535
Sorry to correct you. Update, as I understand it, brings installed packages up-to-date. Upgrade, on the other hand, does the same as update, but also deinstalls obsolete packages. Upgrade is not only for version upgrades, e.g. F10 to F11 (what you probably mean is pre-upgrade). I prefer upgrade, because it removes obsolete packages.
Reply With Quote
  #4  
Old 23rd July 2009, 11:28 PM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,204
I've been told that, in fact, in the current code, they do exactly the same thing. I thought the same thing as Cschwangler, as that's what the manpage says, but apparently it's no longer accurate. They both do what 'upgrade' used to do; there's no longer any difference between them.
__________________
Adam Williamson | awilliam AT redhat DOT com
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #5  
Old 23rd July 2009, 11:54 PM
CSchwangler Offline
Registered User
 
Join Date: Feb 2009
Posts: 2,535
Thanks for the update, AdamW. Its good to know that both do the same thing.
Reply With Quote
  #6  
Old 24th July 2009, 02:35 AM
nirik Offline
Community Manager
 
Join Date: Mar 2009
Location: Broomfield, CO
Posts: 436
The do the exact same thing, unless you have modified the 'obsoletes' setting in yum.conf.

1 is the default and they are the same and both do obsoletes.
0 means that upgrade does handle obsoletes, and update does not.
Reply With Quote
Reply

Tags
update, upgrade, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with update after upgrade from FC6 to F7 markuskorn EOL (End Of Life) Versions 1 28th August 2007 01:28 PM
Program UpGrade/UpDate - Where / How / When ? AppsDev Installation, Upgrades and Live Media 6 18th April 2006 10:55 PM


Current GMT-time: 12:00 (Tuesday, 21-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Taki - Ebute Ikorodu Photos - Mount Laurel