[WBEL-users] yum broken after upgrade
Raimo Koski
rk at raimokoski.com
Mon Jan 31 00:25:18 CST 2005
donavan nelson wrote:
> Luke Scharf wrote:
>
>> On Sun, 2005-01-30 at 12:19, Milan Keršláger wrote:
>>
>>> rm /var/lib/rpm/__*
>>
>>
>>
>> Does that remove the RPM database, the indexes, or something else?
>>
>> I'd advise against anyone removing their RPM database. The machine is
>> always a mess afterward.
>
>
> this is an upstream problem and the reason CentOS held back the most
> recent rpm release from the CentOS 3.4 (RHEL 3 U4) quarterly respin.
Lineox did the same, but it can be apparently fixed by updating glibc
before building rpm. If built with old glibc, the rpm program is broken
and rm /var/lib/rpm/__* doesn't help. Besides downgrading rpm by hand,
adding to /etc/rpm/macros the line:
%__dbi_cdb create cdb private mpool mp_mmapsize=16Mb mp_size=1Mb
will resurrect rpm functionality.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82764
describes a similar case.
This is quite weird problem and perhaps rpm should have the correct
glibc as build and installation requirement because this seems to pop up
again intermittently.
--
Raimo Koski http://www.lineox.com/ http://www.raimokoski.com/
More information about the Whitebox-users
mailing list