[Rpm-maint] [rpm-software-management/rpm] Version range dependency (#159)
Igor Gnatenko
notifications at github.com
Sun Feb 19 08:54:09 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170219/b5c2d045/attachment.html>
More information about the Rpm-maint
mailing list