<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV id=yiv1533459004>
<DIV id=yiv944427444>
<DIV>Hi All,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I heard thro YUM mailing list, that RPM no longer supports reliable rollback of transaction.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have some Qs related to this, and would like to confirm if RPM rollback feature functions reliably or NOT.</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>I think, RPM currently supports</DIV>
<DIV>--AUTOMATIC <SPAN class=yshortcuts id=lw_1238790200_0 style="BACKGROUND: none transparent scroll repeat 0% 0%; CURSOR: hand; BORDER-BOTTOM: #0066cc 1px dashed">ROLLBACK</SPAN> OF A TRANSACTION.</DIV>
<DIV>ie, what I mean is, if you have multiple package installs/erases within 1 single RPM transaction, then if there is a failure,</DIV>
<DIV>for any package install/erase, then prior to failure, whatever other packages that were installed/erased, will be undone. Can someone please confirm this.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Also there is this old link below, that talks about RPMs Rollback feature::</DIV>
<DIV><A href="http://www.linuxjournal.com/article/7034" target=_blank rel=nofollow><SPAN class=yshortcuts id=lw_1238790200_1>http://www.linuxjournal.com/article/7034</SPAN></A></DIV>
<DIV>&nbsp;</DIV>
<DIV>It does say that for upgrade, if repackage option is enabled, then older version of package, including config files, and install scripts will be backed up, under repackage directory(/var/spool/repackage).</DIV>
<DIV>&nbsp;</DIV>
<DIV>So later you can go back to older version, by running this command,</DIV>
<DIV>rpm -Uvh --rollback '2 hours ago'</DIV>
<DIV>&nbsp;</DIV>
<DIV>The above URL is 5 years old, and I have RPM 4.4.2.3 version on my Fedora.</DIV>
<DIV>&nbsp;</DIV>
<DIV>So my Qs is, are there issues with RPM rollback feature, as far as when it comes up reverting back to old config files under /etc, and/or if the RPM post/pre scripts create user/system accounts , are there issues undoing those accounts.</DIV>
<DIV>Are these the kind of issues, that still linger wrt to ROLLBACK feature.</DIV>
<DIV>&nbsp;</DIV>
<DIV>And as far as AUTOMATIC ROLLBACK, if there is a failure within a single transaction(that has multiple packages), does that feature work fine. OR is that feature also plagued by issues such as reverting config files changes and/or other stuff done from post/pre RPM scripts.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can someone please let me know.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks very much.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>SK</DIV>
<DIV>&nbsp;</DIV></DIV></DIV></DIV></td></tr></table><br>