[ATrpms-users] Re: rpm package problem on FC2
Kim Bisgaard
kim+j2 at alleroedderne.adsl.dk
Tue Jul 19 17:46:40 CEST 2005
Axel Thimm wrote:
>On Thu, Jul 14, 2005 at 04:12:10PM +0200, Kim Bisgaard wrote:
>
>
>>Axel Thimm wrote:
>>
>>
>>
>>>On Thu, Jul 14, 2005 at 09:59:55AM +0200, Kim Bisgaard wrote:
>>>
>>>
>>>
>>>
>>>>I just installed new rpm packages on FC2, and now I get:
>>>>
>>>># rpm -qa
>>>>rpmdb: unable to initialize mutex: Function not implemented
>>>>rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock:
>>>>Function not implemented
>>>>error: db4 error(38) from dbenv->open: Function not implemented
>>>>error: cannot open Packages index using db3 - Function not implemented
>>>>(38)
>>>>error: cannot open Packages database in /var/lib/rpm
>>>>
>>>>Is it a missing dependency, and how to correct it when rpm does not want
>>>>to start??
>>>>
>>>>
>>>>
>>>>
>>>On Thu, Jul 14, 2005 at 06:45:29AM -0300, Paul Pick wrote:
>>>
>>>
>>>
>>>
>>>>This was just discussed on this list a few days ago. This post
>>>>contains a work-around:
>>>>
>>>>http://lists.atrpms.net/pipermail/atrpms-users/2005-July/003324.html
>>>>
>>>>
>>>>
>>>>
>>>I think this is FC1/nptl specific, I hope this is a simpler issue.
>>>Kim, try removing /var/lib/rpm/__*. Does this help?
>>>
>>>
>>>
>>>
>>Hi Axel,
>>
>>Thanks for looking into this - but there is no such locks/files - so the
>>answer is no :-(
>>
>>And "rpm --rebuild" complains likewise ...
>>
>>
>
>I have created new rpm packages and placed them under bleeding, could
>you test them?
>
> http://atrpms.net/name/rpm/
>
>Thanks!
>
>
Hi Axel,
Now I have updated rpm,librpm,popt,rpm-build,rpm-python using a FC1
/bin/rpm, but when I run "yum list updates" I get:
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock: Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
error: cannot open Packages index using db3 - Function not implemented (38)
error: cannot open Packages database in /var/lib/rpm
I then inserted "%__dbi_cdb create cdb private mpool mp_mmapsize=16Mb
mp_size=1Mb" into /etc/rpm/macros".
That let me do an "rpm --rebuilddb", and *now yum works again*
If I remove /etc/rpm/macros - I'm back with errors again.
I safely leave it to you to figure out *why* :-)
Regards,
Kim.
More information about the atrpms-users
mailing list