计算化学公社

标题: CentOS 8 cannot retrive software with yum [打印本页]

作者
Author:
influenza    时间: 2022-2-20 17:08
标题: CentOS 8 cannot retrive software with yum
Hi,
I am encoutering an issue with yum command.
Whenever I try to download a software using the command "yum" the system gives the following feedback:
"Cannot find a valid baseurl for repo: appstream"

Can anyone help me out? Thanks very much!!



作者
Author:
abin    时间: 2022-2-20 17:22
https://mirrors.tuna.tsinghua.edu.cn/help/centos/


作者
Author:
influenza    时间: 2022-2-20 17:42
Thanks for the suggestion!
I entered commands according to the suggestions of the website, but after that, when I entered "yum update" or anything else, it still gives the following output:

[root@localhost jz]# yum update
CentOS Linux 8 - AppStream                      1.3 kB/s | 153  B     00:00   
Errors during downloading metadata for repository 'appstream':
  - Status code: 404 for https://mirrors.tuna.tsinghua.ed ... repodata/repomd.xml (IP: 2402:f000:1:400::2)
Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Any idea what is going on? Thanks !!


作者
Author:
abin    时间: 2022-2-20 17:58
influenza 发表于 2022-2-20 17:42
Thanks for the suggestion!
I entered commands according to the suggestions of the website, but afte ...

https://stackoverflow.com/questi ... -mirrors-were-tried

Or use the DVD to setup your own local repo.

Check out the manual or find an IT manager.


作者
Author:
influenza    时间: 2022-2-21 14:29
abin 发表于 2022-2-20 17:58
https://stackoverflow.com/questions/59857492/dnf-broken-all-mirrors-were-tried

Or use the DVD t ...

Many thanks! As an absolute beginner of Linux, I have to resort to someone else.
作者
Author:
bblovelp    时间: 2022-2-21 14:37
https://developer.aliyun.com/mir ... .0.0.3e221b11ePJAUu  参考这个跟换阿里云源看下




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