Skip to content

Wrong version of packages kernel-headers and kernel-devel #899

Closed

Description

Describe the bug

Today I tried to build a kernel module but its Makefile couldn't find my KDIR.
After a bit of investigation I checked the versions of kernel-related packages with rpm -qa | grep kernel, and as you can see kernel-headers and kernel-devel have the wrong version.

kernel-tools-libs-6.7.9-200.fc39.x86_64
kernel-tools-6.7.9-200.fc39.x86_64
kernel-modules-core-6.7.9-204.fsync.fc39.x86_64
kernel-uki-virt-6.7.9-204.fsync.fc39.x86_64
kernel-modules-6.7.9-204.fsync.fc39.x86_64
kernel-core-6.7.9-204.fsync.fc39.x86_64
kernel-6.7.9-204.fsync.fc39.x86_64
kernel-modules-extra-6.7.9-204.fsync.fc39.x86_64
kernel-headers-6.7.9-207.fsync.fc39.x86_64
kernel-devel-6.7.9-207.fsync.fc39.x86_64
kernel-srpm-macros-1.0-20.fc39.noarch

What did you expect to happen?

The output of rpm -qa | grep kernel should contain packages that have the same version number.

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:stable
                   Digest: sha256:d0599bed0fcc05527392d9ce95ff758de1f0ddf48e1ef059815498f65b962d25
                  Version: 39.20240116.0 (2024-03-19T17:03:05Z)
          LayeredPackages: htop sunshine
                Initramfs: '"-I /etc/crypttab /usr/lib/modprobe.d/nvidia.conf" '

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:stable
                   Digest: sha256:142881fb1b347c93c76ab9485ebf0f2a617ae90423f814e587ca2bcde2f4a2bc
                  Version: 39.20240116.0 (2024-03-19T07:34:28Z)
          LayeredPackages: htop sunshine
                Initramfs: '"-I /etc/crypttab /usr/lib/modprobe.d/nvidia.conf" '

Hardware

No response

Extra information or context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions