Bug 328

Summary: zypper fails to find rpmdb2solv
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Qing He <qing.he>
Component: meta-yoctoAssignee: Qing He <qing.he>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, kevin.tian, mark.hatle, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Qing He 2010-09-14 19:40:14 UTC
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
Comment 1 Qing He 2010-09-15 18:08:57 UTC
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.
Comment 3 Qing He 2010-10-21 01:00:52 UTC
This has long been fixed