Wind River Support Network

HomeDefectsLIN10-3456
Fixed

LIN10-3456 : rpm error: db5 error(-30973) from dbenv->open

Created: Mar 4, 2018    Updated: Feb 11, 2019
Resolved Date: Jun 24, 2018
Found In Version: 10.17.41.5
Fix Version: 10.17.41.9
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace

Description

# rpm -q rpm
error: db5 error(-30973) from dbenv->open: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
error: db5 error(-30973) from dbenv->open: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm

Steps to Reproduce

1) setup.sh --machine nxp-ls20xx --templates feature/LAMP feature/gdb feature/ipv6 feature/krb5 feature/ntp feature/target-toolchain feature/test --dl-layers --layers meta-filesystems meta-virtualization meta-xfce --distro wrlinux
2) . ./environment-setup-x86_64-wrlinuxsdk-linux
3) . ./oe-init-build-env
4) vim conf/local.conf
BB_NO_NETWORK_pn-lmbench = '0'
IMAGE_FSTYPES_remove += " wic wic.bmap live"
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
BB_NO_NETWORK_pn-fio= '0'
IMAGE_INSTALL_append += " rpm"

5) bitbake wrlinux-image-glibc-std
6) deploy and boot the target
7) rpm -q rpm

Other Downloads


Live chat
Online