当前位置:   article > 正文

解决yum安装dkms报错No match for argument: dkms Error: Unable to find a match: dkms

error: unable to find a match: dkms

问题

yum install -y dkms报错如下:

Failed to set locale, defaulting to C.UTF-8
Repository extras is listed more than once in the configuration
Last metadata expiration check: 0:08:49 ago on Sun Mar  5 07:31:53 2023.
Package kernel-headers-4.18.0-348.7.1.el8_5.aarch64 is already installed.
Package kernel-devel-4.18.0-348.7.1.el8_5.aarch64 is already installed.
No match for argument: dkms
Error: Unable to find a match: dkms
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

解决

centos系统安装dkms:

先安装EPEL

yum install -y epel-release
  • 1

再安装kernel-headers, kernel-devel,dkms

yum install -y kernel-headers kernel-devel dkms
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/128583
推荐阅读
相关标签
  

闽ICP备14008679号