Bug 5671 - [Anolis23 GA][RC2][x86]缺少相关依赖导致安装 nvidia的cuda-drivers失败
Summary: [Anolis23 GA][RC2][x86]缺少相关依赖导致安装 nvidia的cuda-drivers失败
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P2-High S2-major
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-29 10:49 UTC by yunmeng365524
Modified: 2023-06-29 13:48 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yunmeng365524 2023-06-29 10:49:45 UTC
Description of problem:
缺少相关依赖导致安装 nvidia的cuda-drivers失败

Version-Release number of selected component (if applicable):
[root@iZbp1eypdp3hunewckvjqvZ ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

How reproducible:

[root@iZbp1eypdp3hunewckvjqvZ ~]# yum install cuda-drivers
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 1:56:05 ago on Thu Jun 29 08:49:23 2023.
Error:
 Problem: package cuda-drivers-3:530.30.02-1.an23.x86_64 from AppStream-AI requires nvidia-driver-cuda >= 3:530.30.02, but none of the providers can be installed
  - conflicting requests
  - nothing provides opencl-filesystem needed by nvidia-driver-cuda-3:530.30.02-1.an23.x86_64 from AppStream-AI
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@iZbp1eypdp3hunewckvjqvZ ~]# yum repolist
Failed to set locale, defaulting to C.UTF-8
repo id                                                 repo name
AppStream-AI                                            AnolisOS- - AppStream-AI
AppStream-AI-Source                                     AnolisOS- - AppStream-AI-Source
AppStream-Test                                          AnolisOS-23 - AppStream-Test
BaseOS-Test                                             AnolisOS-23 - BaseOS-Test
[root@iZbp1eypdp3hunewckvjqvZ ~]# yum repoinfo
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 1:56:39 ago on Thu Jun 29 08:49:23 2023.
Repo-id            : AppStream-AI
Repo-name          : AnolisOS- - AppStream-AI
Repo-revision      : 1687958805
Repo-updated       : Wed Jun 28 21:26:45 2023
Repo-pkgs          : 515
Repo-available-pkgs: 515
Repo-size          : 7.4 G
Repo-baseurl       : https://mirrors.openanolis.cn/epao/23/x86_64/
Repo-expire        : 172800 second(s) (last: Thu Jun 29 08:49:23 2023)
Repo-filename      : /etc/yum.repos.d/ai.repo

Repo-id            : AppStream-AI-Source
Repo-name          : AnolisOS- - AppStream-AI-Source
Repo-revision      : 1687958890
Repo-updated       : Wed Jun 28 21:28:10 2023
Repo-pkgs          : 86
Repo-available-pkgs: 86
Repo-size          : 13 G
Repo-baseurl       : https://mirrors.openanolis.cn/epao/23/source/
Repo-expire        : 172800 second(s) (last: Thu Jun 29 08:49:23 2023)
Repo-filename      : /etc/yum.repos.d/ai.repo

Repo-id            : AppStream-Test
Repo-name          : AnolisOS-23 - AppStream-Test
Repo-revision      : 1687884680
Repo-updated       : Wed Jun 28 00:51:20 2023
Repo-pkgs          : 12603
Repo-available-pkgs: 12603
Repo-size          : 13 G
Repo-baseurl       : http://mirrors.openanolis.cn/anolis/23/Nightly/AppStream/x86_64/os
Repo-expire        : 172800 second(s) (last: Thu Jun 29 08:49:22 2023)
Repo-filename      : /etc/yum.repos.d/AnolisOS-Test.repo

Repo-id            : BaseOS-Test
Repo-name          : AnolisOS-23 - BaseOS-Test
Repo-revision      : 1687884534
Repo-updated       : Wed Jun 28 00:48:54 2023
Repo-pkgs          : 946
Repo-available-pkgs: 946
Repo-size          : 1.0 G
Repo-baseurl       : http://mirrors.openanolis.cn/anolis/23/Nightly/BaseOS/x86_64/os
Repo-expire        : 172800 second(s) (last: Thu Jun 29 08:49:22 2023)
Repo-filename      : /etc/yum.repos.d/AnolisOS-Test.repo
Total packages: 14150

Steps to Reproduce:
yum install cuda-drivers

Actual results:
cuda驱动安装失败

Expected results:
安装能成功

Additional info:
Comment 1 xuchunmei alibaba_cloud_group 2023-06-29 11:13:50 UTC
opencl-filesystem未更新到Nightly导致。
Comment 2 xuchunmei alibaba_cloud_group 2023-06-29 11:15:35 UTC
opencl-filesystem已更新。
yum clean all
yum install cuda-drivers可正常安装。
Comment 3 yunmeng365524 2023-06-29 13:48:33 UTC
已经可以正常安装
[root@iZbp1eypdp3hunewckvjqvZ ~]rpm -q cuda-drivers
cuda-drivers-530.30.02-1.an23.x86_64