有点困惑。
rpm -U
和有什么区别rpm -F
手册页说 -U 升级包
-F, --freshen=+ 如果已安装,则升级包
答案1
比较
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.
到
rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
This will upgrade packages, but only ones for which an earlier version
is installed.