Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install() prefers provides #220

Closed
cgwalters opened this issue Nov 28, 2016 · 3 comments
Closed

install() prefers provides #220

cgwalters opened this issue Nov 28, 2016 · 3 comments

Comments

@cgwalters
Copy link
Collaborator

Fedora Atomic Host uses rpm-ostree, in the treefile right now we have:

packages: ["iptables-services", "iptables"]

Yet, this depsolves to just include iptables-services. The reason appears to be that iptables-services, added a Provides: iptables, and hence we use that to satisfy the install("iptables"). We can work around this by changing it to /usr/sbin/iptables, but this is obviously suboptimal.

I think this is a regression from #204

@jlebon
Copy link
Contributor

jlebon commented Nov 30, 2016

What's confusing is that iptables-services has Provides: iptables = 1.4.16.1, while iptables has the implicit Provides: iptables = 1.6.0-2.fc25. So it seems like we're not picking the highest provides available. Judging by the code in #204, I think this is an issue that probably existed even before, though switching to provides exposed this more easily.

@cgwalters
Copy link
Collaborator Author

@jlebon
Copy link
Contributor

jlebon commented Dec 2, 2016

openSUSE/libsolv#165

Though for now, a reasonable alternative is:

#224

@dnf-bot dnf-bot closed this as completed in 96b9f99 Dec 5, 2016
jlebon added a commit to jlebon/rpm-ostree that referenced this issue Dec 6, 2016
rh-atomic-bot pushed a commit to coreos/rpm-ostree that referenced this issue Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants