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

23rd July 2009, 10:03 PM
|
 |
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
|

23rd July 2009, 10:09 PM
|
|
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.
|

23rd July 2009, 10:45 PM
|
|
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.
|

23rd July 2009, 11:28 PM
|
 |
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.
|

23rd July 2009, 11:54 PM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 2,535

|
|
|
Thanks for the update, AdamW. Its good to know that both do the same thing.
|

24th July 2009, 02:35 AM
|
 |
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 04:30 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|