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 thedowngrade
option. Doingyum downgrade <package name>
downgrade one version. That, and this rather archaic way of rolling back viarpm
.However, as of
yum.3.2.25
you get the context switchhistory
, which also includes anundo
function.