An error is always reported when using Yum Install again after installing Gitlab. The error code is as follows:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: gitlab_gitlab-ce. Please verify its path and try again
the solution is as follows:
A. open/etc/yum. Repos. D/XXXXX. Repo, for this example is the/etc/yum. Repost. D/XXX. ‘
b. Change the term ‘enabled=1’ in [XXX] to ‘enabled=0
‘
As indicated in the code above, my error is gitlab_gitlab-CE, so the enabled=0 in gitlab_gitlab-ce-repo’s [gitlab_gitlab-CE]
[root@web1 ~]# cd /etc/yum.repos.d
[root@web1 yum.repos.d]# vim gitlab_gitlab-ce.repo
Set enabled=1 to enabled=0 in [gitlab_gitlab-ce]
Read More:
- Euopenler 21.09 sudo Yum Update Error: Errors during downloading metadata for repository ‘EPOL’
- Resolving yum source-related issues: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
- yum: Error: Failed to download metadata for repo ‘aliyun-AppStream‘: Cannot download repomd.xml
- [Solved] Invalid signature error for ROS repository while trying to do sudo apt-get update
- [Solved] yum Command Error: Error: Failed to download metadata for repo ‘appstream‘
- [Solved] fatal: not a git repository (or any of the parent directories): .git
- linux yum Error: PYCURL ERROR 6 – “Couldn’t resolve host ‘mirrorlist.centos.org’”
- [Solved] CentOS Use Yum to install dependency: error: rpmdb open failed
- Linux yum Error: All mirror URLs are not using ftp
- [Solved] Yum Install Software Error: Invalid configuration value: failovermethod=priority…
- [Solve] Yinhe Qilin V10 System Error: Failed to download metadata for repo ‘ks10-adv-os‘
- [Solved] Error: Failed to download metadata for repo ‘appstream‘
- Ansible Use yum module to install rpm Error: Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate v
- Yum source error: [errno 14] HTTP Error 404 – not found
- [Solved] xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory #include <expat.h>
- CentOS 8: No URLs in mirrorlist error [How to Solve]
- How to Solve Yum Error: db5 error(30973)
- After Centos installation is complete, ifconfig: command not found
- [Solved] yum error: rpmdb: BDB0113 Thread/process
- yum Error: rpmdb open failed [How to Solve]