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

Declare provides+conflicts on Debian/Ubuntu packages #2203

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

bmoyles
Copy link
Contributor

@bmoyles bmoyles commented Feb 15, 2019

See #2085 and #2116 for previous work:

While the Debian/Ubuntu packages have different package names, aside from bpfcc-tools/bcc-tools, the contents of the packages conflict and cannot be simultaneously installed or mixed with upstream packages.

Further, should one install a package declaring a dependency on bpfcc-tools, libbpfcc, etc, while the upstream packages are installed, given there's no relationship between the packages, apt will gladly pull down and try to install the Debian/Ubuntu packages and explode in a half-configured mess :)

This PR adds a Provides relationship between the iovisor and corresponding Debian/Ubuntu packages so the iovisor packages can satisfy dependencies (PCP is a good example, although they've since adjusted their dependencies to allow python3-bpfcc | python3-bcc) and also adds a Conflicts relationship to try to prevent users from mixing the installs.

cc @brendangregg

…an- provided packages so they can satisfy dependencies but not be simultaneously installed or mixed
@yonghong-song
Copy link
Collaborator

[buildbot, test this please]

@brendangregg
Copy link
Member

thanks!

@brendangregg brendangregg merged commit cdf265f into iovisor:master Feb 15, 2019
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

Successfully merging this pull request may close these issues.

3 participants