when trying to run zypper pa ("List all available packages"), zypper fails environment: poky-image-sato, qemux86 reproduce step: 1. add zypper into image (IMAGE_INSTALL += "zyyper") 2. bitbake poky-image-sato to get zypper included 3. start the image 4. zypper pa 5. current failed result: Target initialization failed: rpmdb2solv -r '/' -p '/etc/products.d' > '/var/cache/zypp/solv/@System/solvoAANUZ' /bin/sh: rpmdb2solv: not found
rpmdb2solv is a utility in sat-solver. libzypp not only use the library part (which is static) of sat-solver, but also explicitly invokes its utility. So libzypp (not zypper) should additionally RDEPENDS sat-solver, in this case.
Fixed with http://git.pokylinux.org/cgit.cgi/poky/commit/?id=eede7208aa2624d2cd38f37c98e52587cc50a7bc
This has long been fixed