|
楼主 |
发表于 2021-7-29 22:53:40
|
显示全部楼层
Failed to stop salt-minion.service: Unit salt-minion.service not loaded.
# salt sources
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Cleaning repos: docker-ce-stable epel extras os salt-tsinghua salt-ustc updates
0 metadata files removed
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
docker-ce-stable | 3.5 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
os | 3.6 kB 00:00:00
salt-tsinghua | 2.9 kB 00:00:00
Not using downloaded salt-tsinghua/repomd.xml because it is older than what we have:
Current : Wed Apr 22 01:14:17 2020
Downloaded: Fri Nov 16 05:43:48 2018
https://mirrors.ustc.edu.cn/salt ... epodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
One of the configured repositories failed (SaltStack 2017.7 Release Channel for RHEL/Centos 7),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=salt-ustc ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable salt-ustc
or
subscription-manager repos --disable=salt-ustc
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=salt-ustc.skip_if_unavailable=true
failure: repodata/repomd.xml from salt-ustc: [Errno 256] No more mirrors to try.
https://mirrors.ustc.edu.cn/salt ... epodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
salt-minion 安装失败!,请检查系统环境是否正常! |
|