Cannot retrieve repository metadata (repomd.xml) for repository
錯誤:Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
cd /etc/yum.repos.d
vim CentOS-Base.repo
:%s/$releasever/7/g #將檔案中$releasever全部改成7或其他版本
gpgcheck=1 gpgkey= #released updates [updates] name=CentOS-7 - Updates - mirrors.aliyun.com failovermethod=priority baseurl= gpgcheck=1 gpgkey= #additional packages that may be useful [extras] name=CentOS-7 - Extras - mirrors.aliyun.com failovermethod=priority baseurl= gpgcheck=1 gpgkey= #additional packages that extend functionality of existing packages [centosplus] name=CentOS-7 - Plus - mirrors.aliyun.com failovermethod=priority baseurl= gpgcheck=1 enabled=0 gpgkey= #contrib - packages by Centos Users [contrib] name=CentOS-7 - Contrib - mirrors.aliyun.com failovermethod=priority baseurl=
:wq
yum clean all yum makecache
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70003733/viewspace-2898091/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Cannot retrieve repository metadata (repomd.xml) for repository: baseXML
- Cannot retrieve repository metadata (repomd.xml) for repository:InstallMediaXML
- yum:Error: Cannot retrieve metalink for repository: epel. Please verifyError
- Error: Cannot retrieve metalink for repository: epel. Please verify its path and try againErrorAI
- CentOS7 yum 報錯: Cannot retrieve metalink for repository: epel. Please verify its path and try againCentOSAI
- Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again 問題分析AI
- [20120305]Build a Metadata Repository.txtUI
- no such repository
- Bundle the repository
- Maven: 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiatedMavenApache
- DDD與Repository
- hdu 2846 Repository
- Tablespace Repository (60)
- 如何使用 Repository 模式模式
- repository 模式的小解模式
- 重新 create oracle RepositoryOracle
- 對Repository的疑惑
- JPA Repository之JpaRepositoryImplementation
- github repository視覺化Github視覺化
- Git建立Repository版本庫Git
- "bare repository" learning by examples
- Repository的事件驅動事件
- Online Book Repository
- Get a working copy of a bare repository
- AWR: Automatic Workload Repository
- 使用CDH4 Maven RepositoryMaven
- Automatic Workload Repository ViewsView
- Automatic Diagnostic Repository (ADR)
- DBMS_WORKLOAD_REPOSITORY包
- domain object 呼叫 repository 與 eventStoreAIObject
- Entity中是否可以引用Repository
- AWR(Automatic Workload Repository)
- 迫於 l5-repository 太難用,我自己寫了一個 laravel-repositoryLaravel
- prettus/l5-repository筆記筆記
- @Component, @Repository, @Service的區別
- SVN-Unable to connect to a repository at URL
- Convert a normal Git repository to a bare oneORMGit
- Repository 設計模式上手體驗設計模式