RPM

[RPM] some package removal failure with rpm

Bug #667415 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned

Bug Description

tracker

Tags: poky
Revision history for this message
In , Jiajun-xu (jiajun-xu) wrote :

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
#########

Revision history for this message
In , qing.he@intel.com (qing-he) wrote :

does the following works?

rpm -e task-poky-tools-profile
rpm -e powertop

Revision history for this message
In , Jiajun-xu (jiajun-xu) wrote :

Yes.

(In reply to comment #2)
> does the following works?
> rpm -e task-poky-tools-profile
> rpm -e powertop

Revision history for this message
In , Mark-hatle (mark-hatle) wrote :

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.

Revision history for this message
Jeff Johnson (n3npq) wrote :

tracker

tags: added: poky
Revision history for this message
In , Jeff Johnson (n3npq) wrote :
Changed in poky:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in poky:
status: Confirmed → Unknown
Revision history for this message
In , Mark-hatle (mark-hatle) wrote :

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.

Revision history for this message
In , Jeff Johnson (n3npq) wrote :

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.

Revision history for this message
In , Mark-hatle (mark-hatle) wrote :

Yes. The fix changes the platform file to:

<default-arch-of-target>-poky-linux-gnu
<compat arch1>-.*-linux.*
<compat arch2>-.*-linux.*
...
<compat archN>-.*-linux.*

Changed in poky:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.