We can upgrade or downgrade the packages using yum or rpm command in Linux and unix system. There are two way roll back an rpm,
YUM (If the yum command support)
Downgrade use rpm:
If you want to downgrade the rpm package can do without uninstall the packages. The following command can help you,
Same as using --replacepkgs, --replacefiles, and --oldpackage.
--oldpackage, option is allows to install older versions.
-U means "upgrade" this option also will replace the other version. If you will use -i instead of -U both versions installed.
Downgrade use yum:
Also downgrade the packages using yum command, This command will remove the packages that depends on the current version of the package.
yum dowgrade package-name
For example will remove a vsftpd package from the system,
Finally, If you dont want to downgrade a specific package, yum will need to know not to upgrade this package
open the yum configuration file and add the package name with "exclude"
# exclude packages from updated