錯誤:軟體包:1:nvidia-kmod-390.12-2.el7.x86_64 (cuda) 需要:dkms
阿新 • • 發佈:2019-02-19
$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) <[email protected]>"
指紋 : 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 <[email protected]>"
指紋 : 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
已載入外掛: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) <[email protected]>"
指紋 : 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 <[email protected]>"
指紋 : 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