Red Hat Bugzilla – Bug 15790
rpm -F does not work as described
Last modified: 2008-05-01 11:37:57 EDT
In the man page it says
rpm [-F|--freshen] [install-options] <package_file>+
This will upgrade packages, but only if an earlier version
However, if I use rpm -F foo-1.0-1.rpm foo-.1.1-1.rpm bar-1.1-1.rpm
and have foo-1.1-1 and bar-1.0-1 installed, bar will not be upgraded
( this happens if you use e.g. rpm -F *).
There is a warning that foo-1.0-1 is not installed since a newer version
already exists, however, there is no warning that bar wasn't upgraded!!!!
So since there is no error concerning bar, you get the impression
that it was upgraded. This could cause a high security risk!
Do you get more information from the output of rpm -Fvh with the same packages?
Or does rpm "silently" give up without any more information and leave the
freshen operation incomplete?
if a transaction set (i.e. a set of RPMs) fails, i.e. any of the RPMs in the set
fails for some reason, then the whole transaction is cancelled. This is