错误:Cannot retrieve repository Metadata (repomd.xml) for repository: gitlab_gitlab-ce. Please verify its path and try again
解决办法如下: @H_301_0@ a. 打开/etc/yum.repos.d/xxxxx.repo,对于本例来说就是/etc/yum.repost.d/xxx.repo
b. 将项[xxx]中的enabled=1改为enabled=0
@H_301_0@
@H_301_0@ 按照上面代码的提示,我的是gitlab_gitlab-ce报错,所以要将gitlab_gitlab-ce.repo的[gitlab_gitlab-ce]中的enabled=0 @H_301_0@
[root@web1 ~]# cd /etc/yum.repos.d [root@web1 yum.repos.d]# vim gitlab_gitlab-ce.repo 将[gitlab_gitlab-ce]中的enabled=1改为enabled=0原文链接:https://www.f2er.com/centos/381829.html