[CentOS] Upgrade 3.4 --> 3.7 went awry: rpmdb hosed

William L. Maltby BillsCentOS at triad.rr.com
Fri Jul 7 13:30:16 UTC 2006


On Fri, 2006-07-07 at 09:15 -0400, Matt Hyclak wrote:
> On Fri, Jul 07, 2006 at 09:08:42AM -0400, William L. Maltby enlightened us:
> > <snip>

> > ... 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
> 
-- 
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060707/0f89d5e1/attachment.sig>


More information about the CentOS mailing list