歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

使用yum install安裝軟件時報錯

在使用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

本欄目更多精彩內容:http://www.bianceng.cn/OS/Linux/

Copyright © Linux教程網 All Rights Reserved