On Fri, Jul 07, 2006 at 09:08:42AM -0400, William L. Maltby enlightened us:
Having been around (but nevertheless still ignorant of RPM) when RPM suffered the indignity of having its DBM upgraded, I have been creating three yum-based lists in /var after each update. The one which I think I love the most is the installed list. However, my ardor may be misplaced due to my relative ignorance about these things. My thinking is that I can use that list, with a small amount of scripting and/or manual editing, to recover the rpmdb if I need to. I could also make a list from RPM itself, but I like the "trust but verify" philosophy that is satisfied by getting a list from a different source (hmmm... is *that* source trustworthy? ;-).
Creating the lists is an excellent idea.
Anyway, all that presumes that recovery from my periodic backups are not reasonable for some reason.
My question: am I missing the mark? Should I really be doing a list only from RPM or is the YUM list (suf/de)ficient?
It's the same list. Yum is merely an interface/dependency resolver on top of the RPM database.
Matt