[Yum] update or upgrade?

Robert G. Brown rgb at phy.duke.edu
Fri Jan 23 12:09:36 UTC 2004


On Thu, 22 Jan 2004, Karsten Jeppesen wrote:

> >  and adds programs it believes the average user should have
> 
> He - that was an interesting remark. What makes yum think that you 
> should have a specific package?
> I mean - it is all requires and provides. I would think any run would 
> result in a global hunt for unsatisfied requires?
> Or am I wrong?
> Can the repository mark certain packages as being "should have"?

I think that the difference is that upgrades handle obsoletes (as listed
in the RPM dependencies etc).  An update will only update your existing
configuration; and upgrade may completely remove an obsolete package and
replace it with the upgrade's "equivalent" choice and (hopefully
transparently, but sometimes that is not possible) manage the migration
of any configuration data.

So update is lovely as it contains "no surprises" (usually:-).  Upgrade
is also lovely as it moves you up to a whole new revision,
automagically, usually, without reinstallation BUT it is also riskier
because unless one works carefully and does the upgrade in several
steps, actually LOOKING BEFOREHAND to see what yum is going to do and
figuring out what you might want to preserve or skip, the upgrade may
"surprise" you by dumping that lovely suite of programs you've been
relying on since the mid 80's that somebody has decided is finally ready
for that Great /Dev/Null in The Sky.

(something Zen about that image...:-)

   rgb

> 
> Karsten
> 
> 
> On Jan 22, 2004, at 15:59, Paul Lankow wrote:
> 
> > UPDATE - Updates programs you have installed.
> >
> > UPGRADE - In addition to an UPDATE it removes old programs, installs
> > replacements and adds programs it believes the average user should
> > have.
> >
> > Regards,
> > Paul
> >
> >> I read the man pages, but......
> >>
> >> What exactly is the difference between update (without parameters)
> >> and
> >> upgrade?
> >>
> >> They do load a different set of packages.
> >>
> >>
> >> Karsten
> >>
> >> _______________________________________________
> >> Yum mailing list
> >> Yum at lists.dulug.duke.edu
> >> https://lists.dulug.duke.edu/mailman/listinfo/yum
> >>
> >
> >
> > ---                  _
> > Paul F. Lankow      -o)
> > Linux enthusiast    /\\
> > fedora.redhat.com  _\_v
> >
> > _______________________________________________
> > Yum mailing list
> > Yum at lists.dulug.duke.edu
> > https://lists.dulug.duke.edu/mailman/listinfo/yum
> >
> 
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
> 

-- 
Robert G. Brown	                       http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567  Fax: 919-660-2525     email:rgb at phy.duke.edu






More information about the Yum mailing list