<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Satish Eerpini</b> &lt;<a href="mailto:eerpini@gmail.com">eerpini@gmail.com</a>&gt;<br>Date: Mar 31, 2008 10:41 PM<br>
Subject: yum rollback !!<br>To: <a href="mailto:yum@lists.dulug.duke.edu">yum@lists.dulug.duke.edu</a><br><br></span>
<div>well guys i have planned to implement a yum rollback utility which does the following , in chosrt it parses the yum log file and undo&#39;s the changes made by yum, </div>
<div>1) The user is prompted for a rollback date<br>2) the user can give a option for rollback without checking dependencies or a normal rollback with dependency check<br>3) The log file created by yum is parsed by the program and the list of installed and removed RPMs are first separated and stored in files stored in a temp directory<br>
4) The files which were operated upon after the entered date are separated .<br>5) important to keep the rollback transparent of YUM: The log file is copied to a temporary location .<br>6) the files separated in step 3) are passed recursively to a sub-program which removes them without checking dependencies or by checking dependencies according as the choice in step 2) .<br>
7) the log file for the rollback process is created<br>8) the log file of YUM copied to temporary location in step 5) is movied o the location of the actual YUM log file</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>please let me know , ifthere is any other method , because i find the log file parsing is rather slow and a bad idea !</div>