Coming from https://bugzilla.redhat.com/show_bug.cgi?id=1389871

Unfortunately, rich dependencies do not help with that as pointed in one of 
comments:

```
# rpm -i bar-1-1.fc25.remi.noarch.rpm 
error: Failed dependencies:
        ((foo >= 2) and (foo <= 3)) is needed by bar-1-1.fc25.remi.noarch

# rpm -i foo1-1-1.fc25.remi.noarch.rpm 
# rpm -q --provides foo1
foo = 1
foo1 = 1-1.fc25.remi

# rpm -i foo4-4-1.fc25.remi.noarch.rpm 
# rpm -q --provides foo4
foo = 4
foo4 = 4-1.fc25.remi

# pm -ivh bar-1-1.fc25.remi.noarch.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:bar-1-1.fc25.remi                ################################# [100%]
```

Last command works, when we expect a way to disallow it.

The point why I raise it here is that in Rust packaging we are blocked by this, 
because each package has it's own version range which means you never can get 
multiple versions of same crate to be installed (because they are in Conflicts 
now).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/159
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to