Skip to contentSkip to conversation

2.6.2-rc1

DISCUSSION Stephen Clark 3 participants 3 messages Jan 22, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I am running RH9 with the latest kernel and get the following when I try to use rpm:
rpm -qa
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
no packages

any ideas?

Thanks,
Steve

#1 lore raw
Quoted 11 lines · Stephen Clark

Hello,

I am running RH9 with the latest kernel and get the following when I try to use rpm:
rpm -qa
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
no packages

1) Later releases of RPM (from Fedora) have this fixed. Fedora-development currently has rpm-4.3-0.7. Pre-reqs are your problem. :)

2) 'LD_ASSUME_KERNEL=2.4.1 rpm -qa' also works around it.

#2 lore raw
In reply to Stephen Clark
Quoted 11 lines · Stephen Clark

Hello,

I am running RH9 with the latest kernel and get the following when I try to use rpm:
rpm -qa
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
no packages

rm -fr /var/lib/rpm/__db*

That should fix your problems.