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

Longterm fedora kernel depends on different kernel-devel package #16742

Open
niclimcy opened this issue Nov 11, 2024 · 0 comments
Open

Longterm fedora kernel depends on different kernel-devel package #16742

niclimcy opened this issue Nov 11, 2024 · 0 comments
Labels
Component: Packaging custom packages Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@niclimcy
Copy link

System information

Type Version/Name
Distribution Name Fedora
Distribution Version 40
Kernel Version 6.6.59-200.fc40.x86_64
Architecture x86_64
OpenZFS Version 2.2.6

Describe the problem you're observing

rpm spec.in defines kernel-devel as required package: https://github.com/openzfs/zfs/blob/master/rpm/generic/zfs-dkms.spec.in#L33

However, relying on a longterm kernel package, the kernel-devel package name has a different name, kernel-longterm-devel.

Describe how to reproduce the problem

  1. Install kernel-longterm as per https://copr.fedorainfracloud.org/coprs/kwizart/kernel-longterm-6.6/
  2. Remove kernel-devel (as this tracks rolling release unsupported kernel)
  3. zfs and zfs-dkms are forced to uninstall

Include any warning/errors/backtraces from the system logs

niclim@fedora ~$ sudo dnf remove kernel-devel
Dependencies resolved.
===============================================================================================================================================================================
 Package                                   Architecture                        Version                                        Repository                                  Size
===============================================================================================================================================================================
Removing:
 kernel-devel                              x86_64                              6.10.3-200.fc40                                @@commandline                               71 M
 kernel-devel                              x86_64                              6.11.6-200.fc40                                @updates                                    75 M
Removing dependent packages:
 zfs                                       x86_64                              2.2.6-1.fc40                                   @@System                                   1.8 M
 zfs-dkms                                  noarch                              2.2.6-1.fc40                                   @@System                                    57 M

Transaction Summary
===============================================================================================================================================================================
Remove  4 Packages

Freed space: 206 M
Is this ok [y/N]:
@niclimcy niclimcy added the Type: Defect Incorrect behavior (e.g. crash, hang) label Nov 11, 2024
@behlendorf behlendorf added the Component: Packaging custom packages label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Packaging custom packages Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

2 participants