On Thu, 12 Nov 2015 16:50:16 +0100, Reindl Harald wrote:
>> Personally I find "install"/"update"
naming more readable than "-Uvh"/"-Fvh".
>
> Note that -U and -F aren't meant to be readable. They're shorthand for
> "--upgrade" and for "--freshen" respectively
but it's unexpected behavior that -U *installs* packages instead only
_U_pgrade installed ones while nobody ever searchs for "freshen"
If an _upgrade_ introduces new sub-packages or new dependencies, you
need a method that can install those new packages *and* update older
installed ones at the same time. Running "rpm -U *.rpm" is like asking
RPM to "upgrade the installation to the packages specified by *.rpm",
which may involve replacing older installed ones as well as adding new
packages to the installation.
To squeeze a similar feature into "dnf install *.rpm" would be odd as
long as "dnf update …" still accepts local package files, too.