# 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
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