Skip to content

[Bug] - grpc-devel requires kernel-headers and _not_ kernel6.12-headers #1042

@phongn

Description

@phongn

Describe the bug
I was trying to install grpc-devel and some other dependencies previously installed kernel6.12-headers. grpc-devel requires kernel-headers and the two conflict.

To Reproduce

Broken

dnf install kernel6.12-headers grpc-devel

or

dnf install autoconf automake binutils binutils-devel ca-certificates gcc gcc-c++ git libasan libtool make openssh-clients patchelf python3 rpm-build systemd wget which

dnf install grpc-devel

Not Broken

dnf install kernel-headers grpc-devel

or

dnf install autoconf automake binutils binutils-devel ca-certificates gcc gcc-c++ git libasan libtool make openssh-clients patchelf python3 rpm-build systemd wget which grpc-devel

or

dnf install kernel-headers

dnf install autoconf automake binutils binutils-devel ca-certificates gcc gcc-c++ git libasan libtool make openssh-clients patchelf python3 rpm-build systemd wget which 

dnf install grpc-devel

Expected behavior
The expected behavior is that grpc-devel installs normally.

Screenshots

bash-5.2# dnf install kernel6.12-headers grpc-devel
Last metadata expiration check: 0:01:17 ago on Thu Dec 18 20:26:02 2025.
Error:
 Problem: conflicting requests
  - package grpc-devel-1.41.1-8.amzn2023.aarch64 from amazonlinux requires kernel-headers(aarch-64), but none of the providers can be installed
  - package grpc-devel-1.41.1-9.amzn2023.aarch64 from amazonlinux requires kernel-headers(aarch-64), but none of the providers can be installed
  - package grpc-devel-1.56.2-10.amzn2023.aarch64 from amazonlinux requires kernel-headers(aarch-64), but none of the providers can be installed
  - package grpc-devel-1.60.0-10.amzn2023.aarch64 from amazonlinux requires kernel-headers(aarch-64), but none of the providers can be installed
  - package grpc-devel-1.60.2-10.amzn2023.0.1.aarch64 from amazonlinux requires kernel-headers(aarch-64), but none of the providers can be installed
  - package grpc-devel-1.60.2-10.amzn2023.aarch64 from amazonlinux requires kernel-headers(aarch-64), but none of the providers can be installed
  - package kernel6.12-headers-1:6.12.37-61.105.amzn2023.aarch64 from amazonlinux conflicts with kernel-headers provided by kernel-headers-6.1.10-15.42.amzn2023.aarch64 from amazonlinux
  - package kernel6.12-headers-1:6.12.37-61.105.amzn2023.aarch64 from amazonlinux conflicts with kernel-headers provided by kernel-headers-6.1.102-108.177.amzn2023.aarch64 from amazonlinux
...
  - package kernel6.12-headers-1:6.12.58-82.121.amzn2023.aarch64 from amazonlinux obsoletes kernel-headers = 6.12.35-55.103.amzn2023 provided by kernel-headers-6.12.35-55.103.amzn2023.aarch64 from amazonlinux
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

Test Environment (please complete the following information):

  • OS Release: Amazon Linux release 2023.9.20251208 (Amazon Linux)
  • Container: public.ecr.aws/amazonlinux/amazonlinux:2023
  • Container Runtime: Rancher Desktop 1.20.1 on macOS 15.7.2
  • Container Architectures: aarch64, x86_64
  • Container run command: docker run --platform=linux/arm64 --pull=always -i -t -v public.ecr.aws/amazonlinux/amazonlinux:2023 /bin/bash (and also --platform=linux/amd64

Metadata

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