Currently, if the package was already installed, the script would return
2, or 6 or the package would be upgraded.
It causes the script to fail (we use set -e); so to avoid that we added
--replacepkgs --replacefiles and --oldpackage arguments to rpm.
- Install the packages even if some of them are already installed on
- Install the packages even if they replace files from other, already
- Allow an upgrade to replace a newer package with an older one.