Re: yum update vs yum upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2 Apr 2009, Timothy Murphy wrote:

What is the difference between these?
They seem to have the same effect in my case;

In the stock configuration nothing. They used to be different in that update
would not do obsolete processing and upgrade would. That changed a while back.

From the yum man page:

update
      If run without any packages, update will update every currently
      installed package.  If one or more packages or package globs are
      specified, Yum will only update the listed packages.  While updating
      packages, yum will ensure that all dependencies are satisfied. If the
      packages or globs specified match to packages which are not currently
      installed then update will not install them.

      If  the  main obsoletes configure option is true (default) or the
      --obsoletes flag is present yum will include package obsoletes in its
      calculations - this makes it better for distro-version changes, for
      example: upgrading from somelinux 8.0 to somelinux 9.

And

upgrade
     Is the same as the update command with the --obsoletes flag set. See
     update for more details.

Regards,

--
Tom Diehl		tdiehl@xxxxxxxxxxxx		Spamtrap address mtd123@xxxxxxxxxxxx

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux