Linux – Roll back RPM package

linuxrpm

Is there any way to roll back a single package from yum update. I've noticed that the rpm --rollback switch is depreciated in SL linux 6.2.

There is also yum history however I would like to rollback one particular packages that it's not working (libvirt) however it was updated with yum update command so I would have to revert all the other packages what is not desired.

Thanks

Best Answer

With yum, you get the downgrade option. Doing yum downgrade <package name> downgrade one version. That, and this rather archaic way of rolling back via rpm.

However, as of yum.3.2.25 you get the context switch history, which also includes an undo function.