查看: 1207|回复: 7
|
redhat linux 求助!!!!!!!!!!!!!!
[复制链接]
|
|
Yum update fails with 'Error: Cannot retrieve repository metadata (repomd.xml) for repository'
如何解决阿??
紧张时刻有谁会solution???
谢谢 |
|
|
|
|
|
|
|
发表于 18-2-2014 09:29 PM
|
显示全部楼层
|
|
|
|
|
|
|
楼主 |
发表于 25-2-2014 11:16 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 27-2-2014 04:21 PM
|
显示全部楼层
paste output来看看
ls /etc/yum.repos.d
|
|
|
|
|
|
|
|
楼主 |
发表于 4-3-2014 09:46 AM
|
显示全部楼层
我行我素 发表于 27-2-2014 04:21 PM
paste output来看看
ls /etc/yum.repos.d
output-----
pgdg-83-redhat.repo rhel-debuginfo.repo webmin.repo
|
|
|
|
|
|
|
|
发表于 4-3-2014 09:58 AM
|
显示全部楼层
我会这样troubleshoot
1.
cat /etc/redhat-release ---> Check Redhat version
arch --> Check architecture , x86_64 or i686
2.
ls -l /etc/yum.repos.d --> check redhat repo available
cp /etc/yum.repos.d /etc/yum.repos.d.BAK --> create a backup copy before commit any changes
3.
vi /etc/pgdg-83-redhat.repo --> This one need to check online for proper repo address based on information available on step 1
4. after editing repo file
yum clean all
yum update -y
比较难的是#3, 因为你需要自己查你所需要的repo. |
|
|
|
|
|
|
|
发表于 4-3-2014 05:37 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 5-3-2014 11:01 AM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|