How to use an RPM option in a yum upgrade?

Posted by Rachel on Stack Overflow See other posts from Stack Overflow or by Rachel
Published on 2010-03-25T09:29:54Z Indexed on 2010/03/25 9:33 UTC
Read the original article Hit count: 425

Filed under:
|

I need to upgrade an RPM installed via YUM, which has an fatal bug in its postun section.

This will get run (and delete the program's user, which is what I want to not happen) when I run "yum upgrade".

I know that if I were using rpm directly, I could just use the "-nopostun" option to skip this section, but I don't see a way of accessing that option from yum's man page.

Anyone know a way round this?

© Stack Overflow or respective owner

Related posts about yum

Related posts about rpm