Running 'rpm -qa' as root gives:
Code:
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
I have recently upgraded my Kernel to 2.6.6, as I am trying to get kdetv to work. I am not certain if the screwup was due to my compile screwup of kdetv, but I didn't notice this until kdetv's configure command claimed that I didn't have kdelibs installed, even though I was running kde at the time. Anyway, that's another story.
I ran:
Code:
export LD_ASSUME_KERNEL=2.6.6
but that didn't help ... I've tried 'rpm --rebuilddb' but that won't work either, and produces similar error messges.
I've tried:
Code:
cd /var/lib
mv rpm rpm.old
mkdir rpm
chown rpm:rpm rpm
to start rpm off with a fresh directory, but that didn't help either. Each time I run rpm with any parameters, it produces a zero byte file in /var/lib/rpm called '__db.001', waits about 10 seconds, then dies with the above error message.
Oh, and /var is 63% full ... so it's got lots of space.
Any other ideas?