| Summary: | rpm package installation failure in target | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Qing He <qing.he> |
| Component: | meta-yocto | Assignee: | Mark Hatle <mark.hatle> |
| 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: | Other | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
Cc Mark Hatle The filesystem package or some other package in the system needs to provide the '/' directory. I'll see what I can do to facilitate this. I've got a workaround that can unblock testing, can you try the following (on the target): mkdir -p /etc/rpm/sysinfo/ echo "/" >> /etc/rpm/sysinfo/Dirnames then run your test. If this works, I'll add this to the rpm rootfs implementation. Yes, this fix works. The package can be installed successfully. Although the following error message still exists: error: LOOP: error: removing ldd-2.10.1-r4.i586 "Requires: /usr" from tsort relations. Preparing... ########### [100%] 1:ldd ########### [100%] The "error: LOOP" message is not an error. Could you please open a second defect on this item? It should be addressed via another change. ok, I'll file another bug. Installation now works well |
installing new rpm packages in target fails, while other functionalities like rpm -qa and rpm -qi work fine. environment: poky-image-sato, qemux86 (commit c01e8760ba5552e91f3af764c1233c2462494213) reproduce step: 1. start a qemux86 poky-image-sato image 2. scp an rpm package to the current directory, e.g.: scp 192.168.7.1:..../tmp/deploy/rpm/i586/ldd-2.10.1-r4.i586.rpm . 3. try to install the package, use: rpm -ivh ldd-2.10.1-r4.i586.rpm 4. the current failure result is: error: Failed dependencies: / is needed by ldd-2.10.1-r4.i586 error: LOOP: error: removing ldd-2.10.1-r4.i586 "Requires: /usr" from tsort relations.