[root@Ieat4 ~]# yum update
error: db5 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db5 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed
Reference Link:https://www.unixtutorial.org/how-to-fix-corrupted-packages-database-for-yum
If the following output occurs after execute the command "rpm --rebuilddb":
[root@Ieat4 ~]# rpm --rebuilddb
error: rpmdb: BDB0137 write: 0x1f50d30, 4096: No space left on device
error: cannot open Packages index using db5 - No space left on device (28)
error: failed to remove directory /var/lib/rpmrebuilddb.128205: Directory not empty
You can try:https://www.linuxquestions.org/questions/linux-newbie-8/error-rpmdb-open-failed-4175469229/
,https://blog.youkuaiyun.com/ys5773477/article/details/53814581