How to degrade rpm package version

I installed a high version rpm package by mistake , should install a low version.

But I don’t want to uninstall the high version firstly and then install low version.

Because uninstall the high version  could cause some errors, especially the library package.

So  degrade package version is a better choice, for example:

rpm -Uvh –oldpackage glib2-2.54.2-2.el7.x86_64.rpm

ldconfig

degrade_version

 

 

 

Leave a Reply