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

ripe-atlas-probe Debian package should declare Replace, Provide and Conflict relationship for atlasswprobe #106

Open
s3lph opened this issue Jul 23, 2024 · 0 comments

Comments

@s3lph
Copy link

s3lph commented Jul 23, 2024

Description

To ensure a smooth transition between renamed Debian packages, the new package should specify its relationship to the old package as all of Provides, Replaces and Conflicts. The Replaces relationship on its own does not do much, but only comes into play when two packages conflict with each other, as is also stated in the Debian Policy Manual:

[...] Replaces allows the packaging system to resolve which package should be removed when there is a conflict. [...] This usage only takes effect when the two packages do conflict, so that the two usages of this field do not interfere with each other.

Expected Behavior

The debian/control file should at least contain a Conflicts: atlasswprobe stanza for ripe-atlas-probe in addition to the Replaces. It could also be useful to add Provides as well, in case there are packages depending on atlasswprobe.

Actual Behavior

There only is Replaces: atlasswprobe stanza:

Conflicts: ripe-atlas-anchor
Replaces: atlasswprobe

This causes the atlasswprobe package to not be removed when the ripe-atlas-probe package is installed.

Environment

Version: 5090 (Commit 6970d59)

s3lph added a commit to s3lph/ripe-atlas-software-probe that referenced this issue Jul 23, 2024
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

1 participant