解決:Failed to download metadata for repo ‘base‘
[root@h0436 h0436 zlong]# cat /etc/redhat-release
[root@h0436 zlong]# cd /etc/yum.repos.d
[root@h0436 yum.repos.d]# ls CentOS-Base.repo CentOS-Base.repo.bak epel.repo CentOS-Base.repo.backup docker-ce.repo
[root@h0436 yum.repos.d]# vim CentOS-Base.repo.backup
[base] name=CentOS-8 - Base - mirrors.aliyun.com failovermethod=priority baseurl= gpgcheck=1 gpgkey= #released updates [updates] name=CentOS-8 - Updates - mirrors.aliyun.com failovermethod=priority baseurl= gpgcheck=1 gpgkey= #additional packages that may be useful [extras] name=CentOS-8 - Extras - mirrors.aliyun.com failovermethod=priority baseurl= gpgcheck=1 gpgkey= #additional packages that extend functionality of existing packages [centosplus] name=CentOS-8 - Plus - mirrors.aliyun.com failovermethod=priority baseurl= gpgcheck=1 enabled=0 gpgkey= #contrib - packages by Centos Users [contrib] name=CentOS-8 - Contrib - mirrors.aliyun.com failovermethod=priority baseurl= gpgcheck=1 enabled=0 gpgkey=
[root@h0436 yum.repos.d]# yum clean all
[root@h0436 yum.repos.d]# yum makecache
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70003733/viewspace-2900342/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【Bug解決】CentOS-8中“Failed to download metadata for repo ‘AppStreamCentOSAIAPP
- Cannot retrieve repository metadata (repomd.xml) for repository: baseXML
- Android studio 解決編譯速度慢 Download maven-metadata.xml速度很慢Android編譯MavenXML
- Cannot retrieve repository metadata (repomd.xml) for repositoryXML
- Cannot retrieve repository metadata (repomd.xml) for repository:InstallMediaXML
- Vue腳手架建立專案出現 (Failed to download repo vuejs-templates/webpack: Response code 404)VueAIJSWeb
- DBMS_METADATA報錯解決方法
- pyenv BUILD FAILED解決方法UIAI
- 解決npm install報錯Tried to download(403)NPM
- MySQL DDL Waiting for table metadata lock 解決MySqlAI
- 解決:Failed to load ApplicationContextAIAPPContext
- Failed to execute aapt的奇怪解決方法AIAPT
- ORA-39213: Metadata processing is not available 解決方案AI
- 求metadata相關工具或解決方案建議
- Docker 警告 Plugin XXX is not valid: failed to fetch metadataDockerPluginAI
- [20120305]Build a Metadata Repository.txtUI
- 解決Xmanager-AIX XDMCP Connection failedAI
- Slave failed to initialize relay log info structure from the repositoryAIStruct
- tips - 解決 base 標籤造成 SVG 效果失效SVG
- STM32_Debug 使用ST-Link進行除錯出現Error:Flash Download Failed-"Cortex-M3" 解決方案除錯ErrorAI
- gradle repo conf - maven-central.storage-download.googleapis.comGradleMavenGoAPI
- 解決Cannot download “https://github.com/sass/node-sass/releases/download/binding.nod的問題HTTPGithub
- 解決 yum clean all Error rpmdb open failedErrorAI
- flutter packages get - pub get failed (1)解決方案FlutterPackageAI
- 解決ssh的"Write failed: Broken pipe"問題AI
- [IOS]解決Failed to start Instruments daemon for ‘iOS’ on iPhoneiOSAIiPhone
- Failed to install *.apk on device null解決辦法AIAPKdevNull
- Redhat 下 ASM oracleasm deletedisk -failed 的解決方法RedhatASMOracledeleteAI
- 關於Failed to resolve的問題解決AI
- SharePointFramework解決方案管理參考(二)Framework
- 巧用 Base62 解決欄位太短的問題
- Swift 5 Type Metadata 詳解Swift
- INSTALL_FAILED_NO_MATCHING_ABIS錯誤解決AI
- Apache無法啟動解決 the requested operation has failedApacheAI
- Ping:Transmit Failed, Error Code 65問題解決MITAIError
- ORA-09817: Write to audit file failed 的解決AI
- socket write failed(24) _Netbackup的問題解決AI
- pod update -- Failed to connect to GitHub to update the CocoaPods/Specs specs repoAIGithub