rpmdb: unable to join the environment

在使用yum install安装软件时候报错

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


解决方法一:是执行“export LD_ASSUME_KERNEL =2.2.25”或“export LD_ASSUME_KERNEL


=2.2.25”命令,也可以将其写入/etc/bashrc。


解决方法二:是执行“export LD_ASSUME_KERNEL =2.2.25”或“export LD_ASSUME_KERNEL


=2.2.25”命令,升级rpm到rpm-4.2-1.i386.rpm


你可能感兴趣的:(yum,rpmdb)