rpm -U 和 rpm -F 有什么区别

sne*_*l s 3 linux rpm

有点糊涂。

什么之间的差异rpm -Urpm -F

手册页说 -U 升级包

-F, --freshen=+ 升级包(如果已经安装)

Håk*_*ist 9

相比

   rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...

   This  upgrades  or  installs the package currently installed to a newer
   version.  This is the same as install, except all other  version(s)  of
   the package are removed after the new package is installed.
Run Code Online (Sandbox Code Playgroud)

   rpm {-F|--freshen} [install-options] PACKAGE_FILE ...

   This  will upgrade packages, but only ones for which an earlier version
   is installed.
Run Code Online (Sandbox Code Playgroud)