[ATrpms-users] Re: RPM messed up after upgrade

Fedor Pikus fpikus at gmail.com
Fri Jul 8 20:20:46 CEST 2005


On 7/8/05, Fedor Pikus <fpikus at gmail.com> wrote:
> I did apt-get dist-upgrade on FC1 system, upgrade installed new RPM
> among other things. Upgrade went without any error messages, but now
> every time I run RPM I get this:
> 
> # rpm -q rpm
> 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
> package rpm is not installed

An update to my own post: I discovered that
1) If I copy just the rpm executable from another FC1 box which was
not upgraded, I can run it (new RPM is 4.4.1, old is 4.3.3).
2) I can run new rpm as non-root user and it does not barf, but if I
try to run it as root (via sudo, su, or root shell) I get the above
error message.

I hope this might help someone who knows more about RPM to diagnoze
the problem or suggest what to try next...
> --
> Fedor G Pikus (fpikus at gmail.com)
> http://www.pikus.net
> http://wild-light.com
> 


-- 
Fedor G Pikus (fpikus at gmail.com)
http://www.pikus.net
http://wild-light.com



More information about the atrpms-users mailing list