Red Hat Bugzilla – Bug 252979
RPM missing a Requires:, fails on too-old glibc
Last modified: 2007-11-30 17:12:13 EST
Description of problem:
RPM and yum loop with an error message:
rpmdb: unable to lock mutex: Invalid argument
I have glibc-2.6.90-8 installed, apparently rpm-libs is trying to use the futex
support added in 2.6.90-9.
Version-Release number of selected component (if applicable):
Install this release of RPM and a glibc older than 2.6.90-9.
Steps to Reproduce:
Something else is obviously squirrelly - I managed to get back to an older RPM
with 'rpm2cpio rpm-126.96.36.199-6.x86_64.rpm | cpio -ivudm' and it's still doing it.
Whatever it was, seems to be gone after applying glibc-2.6.90-10. Also, it only
seems to trigger if /var/lib/rpm/__db.00* files are present (hand-removing them
make it shut up).
Looks like temporary glibc brokenness, rpm mostly just cares about having
working and compatible NPTL used for locking (the __db* files). glibc 2.6.90 is
most certainly new enough, too new if anything... :)