Install golang - Problem: conflicting requests

Hi,
I got the following error when I installed golang (dnf install golang) on fedora36. How can I fix this issue to install golang?Please Help me to fix the issue and install latest golang.

Error:
Problem: conflicting requests

  • package golang-1.18-1.fc36.aarch64 requires go-srpm-macros, but none of the providers can be installed
  • package golang-1.18.3-1.fc36.aarch64 requires go-srpm-macros, but none of the providers can be installed
  • package go-srpm-macros-3.0.15-1.fc36.noarch requires redhat-rpm-config, but none of the providers can be installed
  • package redhat-rpm-config-212-1.fc36.noarch requires kernel-srpm-macros >= 1.0-12, but none of the providers can be installed
  • package redhat-rpm-config-221-1.fc36.noarch requires kernel-srpm-macros >= 1.0-12, but none of the providers can be installed
  • package kernel-srpm-macros-1.0-14.fc36.noarch is filtered out by exclude filtering
    (try to add ‘–skip-broken’ to skip uninstallable packages)

Version information:
LSB Version: :core-4.1-aarch64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 36 (Thirty Six)
Release: 36
Codename: ThirtySix

Architecture: arm64

There is the error.
Have you put any excludes into /etc/dnf/dnf.conf or anywhere else?

1 Like

@computersavvy Here is dnf.conf

[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
exclude=kernel* # skip kernel update due to problems with 5.13.x version

@computersavvy Thank you very much for your help. After I comment out the exclude line, the problem is solved. Thank you again.