Workaround to allow openzfs-zfs-dkms install on Ubuntu #15503
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As shown in #15404#issuecomment-1765002181, Ubuntu kernel has 'Provides: zfs-dkms', which will cause uninstall of the kernel, when attempting to install openzfs-zfs-dkms.
As a workaround remove the 'Conflicts: zfs-dkms' definition from the debian control file.
Motivation and Context
Fixes: #15404 (comment)
It's a workaround, but for now it will allow Ubuntu users to install openzfs-zfs-dkms.
IMHO it should go into 2.2.1. That's why I rushed this quickly.
Description
Only the
Conflicts: zfs-dkms
definition is removed.Personally I think the new naming schema should be reverted to the old one, which would solve the current problem.
Because nothing can prevent a distro (Ubuntu) to switch to the new (openzfs-xxx) naming schema and the problem that motivated the change, to prevent what rincebrain said:
would be the same again.
But that's something for you people to decide. Or to find a better solution.
How Has This Been Tested?
Didn't test that personally. Users in the linked issue did that.
Types of changes
Checklist:
Signed-off-by
.