What's the logic for having updates erase all manually installed RPMs? <br>A couple of Support-Gangers and myself were talking about ways to remedy this.<br>We came up with the following:<br><ul><li>alias "rpm -i $FILE" to "rpm -i $FILE & cp FILE $HOME/.rpms$/FILE" with a script on update that runs "rpm -i $HOME/.rpms/*"</li>
<li>have a script that constantly monitors $HOME/.bash_history for "yum install $PROGRAM" formatted files, then echos the name of $PROGRAM to $HOME/.rpms/installed, but removes it from that list if/when it sees "yum remove $PROGRAM" On update, yum install $(cat $HOME/.rpms/installed) is run.</li>
<li>rpm -qa > $HOME/.rpms/clean could be run on install</li><li>rpm -qa > $HOME/.rpms/custom could be run before update</li><li>a simple file compare program (python or python-parsed diff output) would be used to generate a file with which yum install $(cat $FILE) could be used</li>
</ul>thoughts?<br clear="all"><br>-- <br>Ian Daniher<br>--<br>OLPC Support Volunteer<br>OLPCinci Repair Center Coordinator<br>--<br><a href="mailto:it.daniher@gmail.com" target="_blank">it.daniher@gmail.com</a><br>
Skype : it.daniher<br>
<a href="http://irc.freenode.com" target="_blank">irc.freenode.com</a>: Ian_Daniher<br>