satu

Gajah mati meninggalkan tulang
harimau mati meninggalkan belang
manusia mati meninggalkan nama

persiapkan klu kalian mati ingin meninggalkan apa ?

Saturday 24 October 2015

cannot retrieve repository metadata (repomd.xml) for repository.txt

Sumber : http://www.linuxquestions.org/questions/linux-newbie-8/cannot-retrieve-repository-metadata-repomd-xml-for-repository-935134/

Cannot retrieve repository metadata (repomd.xml) for repository

[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.disabledThen 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.disabledList 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.disabledNote : 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.

No comments:

Post a Comment