RPM

Provides does not work if there is a package with the same name

Bug #913599 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
Won't Fix
High
Jeff Johnson
Mandriva
In Progress
Medium

Bug Description

tracker

Tags: mandriva deps
Jeff Johnson (n3npq)
tags: added: deps mandriva
Revision history for this message
Denis Silakov (dsilakov) wrote :

Marked as high priority in the context of Mandriva. But the actual issue is in urpmi which should be fixed by now.

Changed in rpm:
importance: Undecided → High
Revision history for this message
Jeff Johnson (n3npq) wrote :

Agreed.

FYI (as context):

1) All *.rpm packages have
      Provides: N = E:V-R
(and with Disttag/Distepoch iirc on Mandriva) since forever.
So the bug report as written cannot possibly be an RPM bug
(or there would be zillions of bug reports).

2) When "compatibility" (like in texlive) or the kernel (used everywhere)
is involved, then the dependency assertion markup becomes complex.
E.g. the kernel has always tried to avoid adding a Release: in dependency
assertions for upgrade generality. The problem there is that there is a missing
value in the R: part of the assertion that tend to look like:
     Provides: kernel = V
(note no R) and the semantic implemented in rpm is this
     Missing values in a {E,V,R} tuple are semantically interpreted as
     "all possible" or "every possible" value. This behavior isn't what
     naive users are expecting (they expect rpm to just skip part of a comparison
     when a value is missing)

3) when patterns are involved through filtering (as in the "fix"), then
there is the risk that URPMI and RPM will have different behaviors because
they are driven by different assertions: the filtering introduces a risk
of incompatibilities that isn't being explicitly tested and is not well
understood.

Changed in mandriva:
importance: Unknown → Medium
status: Unknown → In Progress
Revision history for this message
devzero2000 (pinto-elia) wrote :

Dunno if this should be high importance.
Is it a bug or a rfe, which have already been discussed several times in the past ? What might be the implications of a different behavior?

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

There are (at least) two behaviors possible with missing values.
There is no way to please everyone.

There are large implications of changing the behavior associated with missing values.

Jeff Johnson (n3npq)
Changed in rpm:
status: New → Opinion
assignee: nobody → Jeff Johnson (n3npq)
status: Opinion → Won't Fix
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.