Quote:
Cannot retrieve repository metadata (repomd.xml) for repository ; check the path and try again.
|
Create repo.disabled inside /etc/yum.repos.d :
Code:
[root@fedora16 ~]# mkdir /etc/yum.repos.d/repo.disabled
[root@fedora16 ~]# ls /etc/yum.repos.d/
fedora16.repo fedora.repo fedora-updates.repo fedora-updates-testing.repo repo.disabled
Then move all these 3 repo files into
“repo.disabled” folder :
Code:
[root@fedora16 ~]# mv /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/repo.disabled
[root@fedora16 ~]# mv /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/repo.disabled
[root@fedora16 ~]# mv /etc/yum.repos.d/fedora-updates-testing.repo /etc/yum.repos.d/repo.disabled
List out the updated files and folders inside /etc/yum.repos.d :
Code:
[root@fedora16 ~]# ls -l /etc/yum.repos.d/
total 8
-rw-r--r--. 1 root root 92 Mar 18 00:09 fedora16.repo
drwxr-xr-x. 2 root root 4096 Mar 18 01:27 repo.disabled
Note : Only file fedora16.repo and folder repo.disabled should be exist.
Run yum clean all to clear up your yum cache directory :
Code:
[root@fedora16 ~]# yum clean all
After cleaning up you can use yum as usual.