6
1
I frequently use the following when updating/upgrading RPM-based distros (CentOS, RHEL, and Fedora in my case):
yum -y update && yum -y upgrade
However, I'm not sure exactly how the two yum
commands differ.
What are the advantages of update
over upgrade
, and vice versa?
More detail on ServerFault here: http://serverfault.com/a/298158/88886
– degenerate – 2014-07-02T21:26:05.827wow. My
man
-fu has failed me :|. Thank Diogo :) – warren – 2012-06-06T14:16:56.7201I imagine/hope OP already read the man page. What it results in is that upgrade will delete obsolete packages In practice, you generally use update or update
<package name>
for day to day stuff, and reserve upgrade for occasions where you are doing full system upgrade to a new distribution version. – UpAndAdam – 2012-06-06T15:19:28.933