我正在安装cuda-repo-rhel7-7-5-local-7.5-18.x86_64.rpm
当我执行yum install cuda
时,错误似乎与
包cuda-license-7-5已被cuda-libs淘汰,但过时的包不提供要求
我尝试了这些建议,但他们没有工作。
您可以尝试使用--skip-broken来解决问题
您可以尝试运行:rpm -Va --nofiles --nodigest
的输出
$ uname -m&& cat / etc / * release
x86_64
CentOS Linux release 7.2.1511 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.2.1511 (Core)
CentOS Linux release 7.2.1511 (Core)
完整输出安装:
$ sudo yum install cuda
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.cs.vt.edu
* epel: download-ib01.fedoraproject.org
* extras: mirrors.lga7.us.voxel.net
* nux-dextop: mirror.li.nux.ro
* rpmforge: mirror.us.leaseweb.net
* rpmforge-extras: mirror.us.leaseweb.net
* updates: mirror.es.its.nyu.edu
Resolving Dependencies
--> Running transaction check
---> Package cuda.x86_64 1:7.5.18-3.el7.nux will be installed
--> Processing Dependency: cuda-libs(x86-64) = 1:7.5.18-3.el7.nux for package: 1:cuda-7.5.18-3.el7.nux.x86_64
--> Processing Dependency: libnvvm.so.3()(64bit) for package: 1:cuda-7.5.18-3.el7.nux.x86_64
--> Running transaction check
---> Package cuda-libs.x86_64 1:7.5.18-3.el7.nux will be installed
--> Processing Dependency: libcuda.so.1()(64bit) for package: 1:cuda-libs-7.5.18-3.el7.nux.x86_64
--> Running transaction check
---> Package cuda-driver-dev-7-5.x86_64 0:7.5-18 will be installed
--> Processing Dependency: cuda-license-7-5 = 7.5-18 for package: cuda-driver-dev-7-5-7.5-18.x86_64
Package cuda-license-7-5 is obsoleted by cuda-libs, but obsoleting package does not provide for requirements
--> Finished Dependency Resolution
Error: Package: cuda-driver-dev-7-5-7.5-18.x86_64 (cuda-7-5-local)
Requires: cuda-license-7-5 = 7.5-18
Installing: 1:cuda-libs-7.5.18-3.el7.nux.x86_64 (nux-dextop)
cuda-license-7-5 = 1:7.5.18-3.el7.nux
Available: cuda-license-7-5-7.5-18.x86_64 (cuda-7-5-local)
cuda-license-7-5 = 7.5-18
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案 0 :(得分:0)
默认情况下,CentOS 7尝试下载cuda7.5(我猜它被CentOs视为最新的稳定版本)
sudo yum install cuda-devel
...
Package cuda-license-7-5 is obsoleted by cuda-libs, but obsoleting package does not provide for requirements
相反,只需安装 cuda-8-0 包!
sudo yum install cuda-8-0
它不依赖于过时的cuda-license-7-5软件包。
注意:在安装结束时,我遇到了一些关键问题,这可以避免(不推荐)
sudo yum install cuda-8-0 --nogpgcheck