76
Setup & Installation / using yum
« on: March 27, 2016, 04:01:12 pm »
I'm using yum, mostly from command line, but sometimes checking my work with ANPM. While installing prerequisites for Mozilla, OpenOffice and a few others, yum does something and all invocations that do any work end with an error condition
This is harmless, except for the non-zero return code from yum. I want to call yum and check the return code, so a wrong return code is less convenient. Is there a way to fix the Rpmdb or get yum to ignore the error?
rpm --repairdb does not appear to make the error go away.
Code: [Select]
Warning: RPMDB altered outside of yum.
Installing : libc-0.6.6-26.oc00.i386
Rpmdb checksum is invalid: dCDPT(pkg checksums)
This is harmless, except for the non-zero return code from yum. I want to call yum and check the return code, so a wrong return code is less convenient. Is there a way to fix the Rpmdb or get yum to ignore the error?
rpm --repairdb does not appear to make the error go away.