Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd July 2009, 10:03 PM
Oponium's Avatar
Oponium Offline
Registered User
 
Join Date: Jul 2009
Age: 20
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: 52
Posts: 1,013
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's Avatar
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,760
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's Avatar
nirik Online
Community Manager
 
Join Date: Mar 2009
Location: Broomfield, CO
Posts: 382
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 and Live Media 6 18th April 2006 10:55 PM


Current GMT-time: 04:30 (Sunday, 19-05-2013)

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