yum update vs yum upgrade
Tom Diehl
tdiehl at rogueind.com
Thu Apr 2 12:54:31 UTC 2009
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 at rogueind.com Spamtrap address mtd123 at rogueind.com
More information about the users
mailing list