Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer
    
Is it possible to "undo" only one a specific package form the history if the update was done with "yum update" command and multiply packages were upgraded. –  HTF Jul 11 '12 at 11:02
    
I'm not quite sure. I'll give a shot at a few things before outright saying downgrade to correct version –  qweet Jul 11 '12 at 11:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.