| Summary: | [RPM] some package removal failure with rpm | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | meta-yocto | Assignee: | Mark Hatle <mark.hatle> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jessica.zhang, ke.yu, kevin.tian, kunwei.tian, n3npq, poky.bs.watcher, poky.watcher, qing.he, richard.purdie, sgw, xianchao.zhang |
| Version: | 1.0 | ||
| Target Milestone: | 1.1 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Jiajun Xu
2010-10-20 07:41:47 UTC
Smilimar issue also happens on emenlow and netbook: ######### root@atom-pc:~# rpm -e powertop-1.13-r0.core2 error: package powertop-1.13-r0.core2 is not installed ######### does the following works? rpm -e task-poky-tools-profile rpm -e powertop Yes. (In reply to comment #2) > does the following works? > rpm -e task-poky-tools-profile > rpm -e powertop This is likely related to the architecture mapping located in the rpmns.c. We'll need to evaluate this for post 0.9. (I don't see this as a truly serious bug, more of an annoyance at this point.) The normal way to work with RPM packages is to pass commands and ignore the version and arch components of the name. Tracked at https://bugs.launchpad.net/rpm/+bug/667415 This has been resolved in the latest version of the RPM changes. I believe that the fix to the platform file has resolved this, but I'm not sure if it was that change. May I assume that your /etc/rpm/platform pattern woes have diminished in intensity? ;-) Its still on my todo++ stack to look at ... just I'm swamped. Yes. The fix changes the platform file to: <default-arch-of-target>-poky-linux-gnu <compat arch1>-.*-linux.* <compat arch2>-.*-linux.* ... <compat archN>-.*-linux.* |