错误:软件包:1:nvidia-kmod-390.12-2.el7.x86_64 (cuda) 需要:dkms

$sudo yum install nvidia-kmod-387.26-2.el7.x86_64
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.bit.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirrors.163.com
软件包 nvidia-kmod 已经被 xorg-x11-drv-nvidia 取代,改为尝试安装 1:xorg-x11-drv-nvidia-390.12-1.el7.x86_64
正在解决依赖关系
--> 正在检查事务
---> 软件包 xorg-x11-drv-nvidia.x86_64.1.390.12-1.el7 将被 安装
--> 正在处理依赖关系 nvidia-kmod >= 1:390.12,它被软件包 1:xorg-x11-drv-nvidia-390.12-1.el7.x86_64 需要
--> 正在检查事务
---> 软件包 nvidia-kmod.x86_64.1.390.12-2.el7 将被 安装
--> 正在处理依赖关系 dkms,它被软件包 1:nvidia-kmod-390.12-2.el7.x86_64 需要
--> 解决依赖关系完成
错误:软件包:1:nvidia-kmod-390.12-2.el7.x86_64 (cuda)
          需要:dkms
 您可以尝试添加 --skip-broken 选项来解决该问题
 您可以尝试执行:rpm -Va --nofiles --nodigest
durongze@localhost:
~
$sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
durongze@localhost:
~
$sudo rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
获取http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
获取http://elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
准备中...                          ################################# [100%]
正在升级/安装...
   1:elrepo-release-7.0-3.el7.elrepo  ################################# [100%]
durongze@localhost:
~
$sudo yum install nvidia-detect
已加载插件:fastestmirror, langpacks
elrepo                                                                                                                                                             | 2.9 kB  00:00:00     
elrepo/primary_db                                                                                                                                                  | 481 kB  00:00:04     
Loading mirror speeds from cached hostfile
 * base: mirror.bit.edu.cn
 * elrepo: mirrors.tuna.tsinghua.edu.cn
 * extras: mirror.bit.edu.cn
 * updates: mirrors.163.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 nvidia-detect.x86_64.0.384.111-1.el7.elrepo 将被 安装
--> 解决依赖关系完成

依赖关系解决

==========================================================================================================================================================================================
 Package                                       架构                                   版本                                                   源                                      大小
==========================================================================================================================================================================================
正在安装:
 nvidia-detect                                 x86_64                                 384.111-1.el7.elrepo                                   elrepo                                  23 k

事务概要
==========================================================================================================================================================================================
安装  1 软件包

总下载量:23 k
安装大小:37 k
Is this ok [y/d/N]: y
Downloading packages:
nvidia-detect-384.111-1.el7.elrepo.x86_64.rpm                                                                                                                      |  23 kB  00:00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
警告:RPM 数据库已被非 yum 程序修改。
  正在安装    : nvidia-detect-384.111-1.el7.elrepo.x86_64                                                                                                                             1/1
  验证中      : nvidia-detect-384.111-1.el7.elrepo.x86_64                                                                                                                             1/1

已安装:
  nvidia-detect.x86_64 0:384.111-1.el7.elrepo                                                                                                                                             

完毕!
durongze@localhost:
~
$nvidia-detect -v
Probing for supported NVIDIA devices...
[80ee:beef] InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
No NVIDIA devices were found.
durongze@localhost:
~
$sudo yum --enablerepo=linuxtech-testing install libvdpau
已加载插件:fastestmirror, langpacks


Error getting repository data for linuxtech-testing, repository not found
durongze@localhost:
~
$sudo yum -y install epel-release
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.bit.edu.cn
 * elrepo: hkg.mirror.rackspace.com
 * extras: mirror.bit.edu.cn
 * updates: mirrors.163.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 epel-release.noarch.0.7-9 将被 安装
--> 解决依赖关系完成

依赖关系解决

==========================================================================================================================================================================================
 Package                                           架构                                        版本                                     源                                           大小
==========================================================================================================================================================================================
正在安装:
 epel-release                                      noarch                                      7-9                                      extras                                       14 k

事务概要
==========================================================================================================================================================================================
安装  1 软件包

总下载量:14 k
安装大小:24 k
Downloading packages:
epel-release-7-9.noarch.rpm                                                                                                                                        |  14 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : epel-release-7-9.noarch                                                                                                                                               1/1
  验证中      : epel-release-7-9.noarch                                                                                                                                               1/1

已安装:
  epel-release.noarch 0:7-9                                                                                                                                                               

完毕!
durongze@localhost:
~
$sudo yum install nvidia-kmod-387.26-2.el7.x86_64
已加载插件:fastestmirror, langpacks
epel/x86_64/metalink                                                                                                                                               | 6.4 kB  00:00:00     
epel                                                                                                                                                               | 4.7 kB  00:00:00     
(1/3): epel/x86_64/group_gz                                                                                                                                        | 266 kB  00:00:00     
epel/x86_64/primary_db         FAILED                                          
http://kartolo.sby.datautama.net.id/EPEL/7/x86_64/repodata/c5c47cd5002910658eedcc5940236c00d1e27b2857627d5ccff48f42085a3846-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found ETA
正在尝试其它镜像。
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

(2/3): epel/x86_64/primary_db                                                                                                                                      | 6.2 MB  00:00:07     
(3/3): epel/x86_64/updateinfo                                                                                                                                      | 878 kB  00:00:15     
Loading mirror speeds from cached hostfile
 * base: mirror.bit.edu.cn
 * elrepo: mirror.rackspace.com
 * epel: ftp.cuhk.edu.hk
 * extras: mirror.bit.edu.cn
 * updates: mirrors.163.com
软件包 nvidia-kmod 已经被 xorg-x11-drv-nvidia 取代,改为尝试安装 1:xorg-x11-drv-nvidia-390.12-1.el7.x86_64
正在解决依赖关系
--> 正在检查事务
---> 软件包 xorg-x11-drv-nvidia.x86_64.1.390.12-1.el7 将被 安装
--> 正在处理依赖关系 nvidia-kmod >= 1:390.12,它被软件包 1:xorg-x11-drv-nvidia-390.12-1.el7.x86_64 需要
--> 正在检查事务
---> 软件包 nvidia-kmod.x86_64.1.390.12-2.el7 将被 安装
--> 正在处理依赖关系 dkms,它被软件包 1:nvidia-kmod-390.12-2.el7.x86_64 需要
--> 正在检查事务
---> 软件包 dkms.noarch.0.2.4.0-1.20170926git959bd74.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

==========================================================================================================================================================================================
 Package                                          架构                                版本                                                        源                                 大小
==========================================================================================================================================================================================
正在安装:
 xorg-x11-drv-nvidia                              x86_64                              1:390.12-1.el7                                              cuda                              4.7 M
为依赖而安装:
 dkms                                             noarch                              2.4.0-1.20170926git959bd74.el7                              epel                               78 k
 nvidia-kmod                                      x86_64                              1:390.12-2.el7                                              cuda                              9.6 M

事务概要
==========================================================================================================================================================================================
安装  1 软件包 (+2 依赖软件包)

总下载量:14 M
安装大小:35 M
Is this ok [y/d/N]: y
Downloading packages:
警告:/var/cache/yum/x86_64/7/epel/packages/dkms-2.4.0-1.20170926git959bd74.el7.noarch.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID 352c64e5: NOKEY          ]  0.0 B/s |    0 B  --:--:-- ETA
dkms-2.4.0-1.20170926git959bd74.el7.noarch.rpm 的公钥尚未安装
(1/3): dkms-2.4.0-1.20170926git959bd74.el7.noarch.rpm                                                                                                              |  78 kB  00:00:00     
警告:/var/cache/yum/x86_64/7/cuda/packages/nvidia-kmod-390.12-2.el7.x86_64.rpm: 头V3 RSA/SHA512 Signature, 密钥 ID 7fa2af80: NOKEY                     ] 1.9 MB/s | 9.9 MB  00:00:02 ETA
nvidia-kmod-390.12-2.el7.x86_64.rpm 的公钥尚未安装
(2/3): nvidia-kmod-390.12-2.el7.x86_64.rpm                                                                                                                         | 9.6 MB  00:00:03     
(3/3): xorg-x11-drv-nvidia-390.12-1.el7.x86_64.rpm                                                                                                                 | 4.7 MB  00:00:03     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                                                      4.4 MB/s |  14 MB  00:00:03     
从 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 检索密钥
导入 GPG key 0x352C64E5:
 用户ID     : "Fedora EPEL (7) <epel@fedoraproject.org>"
 指纹       : 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 软件包     : epel-release-7-9.noarch (@extras)
 来自       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
是否继续?[y/N]:y
从 http://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/7fa2af80.pub 检索密钥
导入 GPG key 0x7FA2AF80:
 用户ID     : "cudatools <cudatools@nvidia.com>"
 指纹       : ae09 fe4b bd22 3a84 b2cc fce3 f60f 4b3d 7fa2 af80
 来自       : http://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/7fa2af80.pub
是否继续?[y/N]:y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : dkms-2.4.0-1.20170926git959bd74.el7.noarch                                                                                                                            1/3
  正在安装    : 1:nvidia-kmod-390.12-2.el7.x86_64                                                                                                                                     2/3

软件包错误: glusterfs-api-6.0-61.el7.x86_64 (updates) 是指在安装或升级软件包时发生了问题。 常见的软件包错误有以下几种可能的原因和解决方法: 1. 依赖关系错误软件包可能需要依赖其他的软件包或库文件,但是这些依赖关系无法满足,导致安装失败。解决方法是检查其他相关的依赖软件包是否已安装,并升级这些软件包。 2. 软件源错误软件包可能来自于错误的软件源,或者软件源配置有误。解决方法是检查软件源的配置文件是否正确,并使用安全和可信任的软件源进行安装。 3. 版本冲突错误软件包可能与已安装的其他软件包存在版本冲突,导致无法安装。解决方法是卸载冲突的软件包,或者升级已安装软件包的版本。 4. 损坏或缺失文件错误软件包可能下载的文件损坏或缺失,导致安装失败。解决方法是重新下载软件包或检查网络连接是否正常。 5. 系统环境错误软件包可能与系统环境不兼容或不匹配,导致安装失败。解决方法是检查系统的操作系统版本和硬件要求,并确保满足软件包的要求。 总之,软件包错误可能由多种原因造成,解决方法取决于具体的错误原因。通过检查依赖关系、软件源、版本冲突、文件完整性和系统环境等方面,可以尝试解决软件包错误。如有需要,还可以参考软件包提供的文档或咨询相关技术支持。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值