计算化学公社

标题: centos stream8奇怪报错 [打印本页]

作者
Author:
dzdhp    时间: 2022-6-2 09:18
标题: centos stream8奇怪报错
[root@localhost Downloads]# dnf install libXScrnSaver
cuda-rhel7-11-7-local                           0.0  B/s |   0  B     00:00   
Errors during downloading metadata for repository 'cuda-rhel7-11-7-local':
  - Curl error (37): Couldn't read a file:// file for file:///var/cuda-repo-rhel7-11-7-local/repodata/repomd.xml [Couldn't open file /var/cuda-repo-rhel7-11-7-local/repodata/repomd.xml]
Error: Failed to download metadata for repo 'cuda-rhel7-11-7-local': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@localhost Downloads]#

麻烦老师帮我
看看什么原因如何解决,非常感谢,安装其他程序ye报错Errors during downloading metadata for repository 'cuda-rhel7-11-7-local'




作者
Author:
abin    时间: 2022-6-2 10:09
我记得有回复过你的,
请拷贝一份有效的repo文件。

或者你重新安装,
使用rocky Linux 或者almaLinux ,
南京大学镜像站都有。

请勿在生产环境使用滚动升级的系统,除非你能搞得定。
作者
Author:
万里云    时间: 2022-6-2 10:32
看起来是曾经安装过cuda。安装过程中把本地目录添加进了软件源,装完后又没打扫干净。

把cuda-rhel7-11-7-local这个源删掉就好了。
作者
Author:
dzdhp    时间: 2022-6-2 10:46
abin 发表于 2022-6-2 10:09
我记得有回复过你的,
请拷贝一份有效的repo文件。

好的,谢谢老师,我去试试

作者
Author:
dzdhp    时间: 2022-6-2 11:08
万里云 发表于 2022-6-2 10:32
看起来是曾经安装过cuda。安装过程中把本地目录添加进了软件源,装完后又没打扫干净。

把cuda-rhel7-11- ...

已解决,非常感谢老师的解答





欢迎光临 计算化学公社 (http://ccc.keinsci.com/) Powered by Discuz! X3.3