master:eaa5df34af42b6a37f6506847d0f3ef6ba0d298a 1) boot qemux86-64 core-image-lsb-sdk image 2) issue commands: " root@qemux86-64:~# rpm -e mc error: package mc is not installed root@qemux86-64:~# which mc /usr/bin/mc root@qemux86-64:~# rpm -qa root@qemux86-64:~# " Notice: - mc is not detected as installed even though it is on the image and works - 'rpm -qa' has no output NOTE: Tested for BSP and QEMU targets on core-image-lsb-sdk images (ex: qemux86-64, jasperforest, sugarbay)
I think this should be assigned to another person since Bogdan is no longer working on the Yocto project.
I attempted to reproduce this issue with core-image-basic. The package manager and related files were there as expected in my configuration. Looking at the code, if the system is configured without 'package-management' enabled in IMAGES_FEATURES, then the RPM database and related smart database will be erased.
Previously, only core-image-minimal will remove he packaging data files. Now the logic has changed, if package-management is not in 'IMAGE_FEATURES', the packaging data files will be deleted. commit 1ce182e79e6c588de4ca372587c0797bc0cb7e80 Author: Laurentiu Palcu <laurentiu.palcu@intel.com> Date: Tue May 21 14:27:49 2013 +0300 image.bbclass: remove unneeded files from the image This patch creates a new function, rootfs_remove_unneeded(), that will be called after rootfs_*_do_rootfs is called and which will handle delayed postinstalls in a generic fashion, for all backends in the same way. Adding 'package-management' to core-image-lsb will do the fix. LSB does require a package manager available. //Chen Qi
merged into poky/master: a8cd0fcf05e8eaf2af3d2346b5b46ac9f2d8dadc http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c66228663177896458488eb058af4cd17a272424
This issue is not present in latest 1.5 M5 RC5 build. Setting to VERIFIED for: poky master:4d8ab87d25ea6e59dc88375813ef88ee0ac813d0