Cannot retrieve repository metadata (repomd.xml) for repository
Hello Linux guys,
I have installed Fedora 16. my computer is not connected to any network or not to internet. it is a standalone computer. i am trying to configure a repository in my system. i copy the entire dvd in /mnt/ directory. than i install createrepo .rpm then i configure the /etc/yum.repos.d/feroranew.repo file, as bellow. [Fedora 16] name=fedora new repos baseurl=file:///mnt/ enabled=1 gpgcheck=0 then i run the command createrepo by changing the directory into /mnt/ mnt # craterepo . run the following command #yum clean all #yum update but after when i tried to install any thing by using yum comand then i got the following error # yum install sambha Cannot retrieve repository metadata (repomd.xml) for repository ; check the path and try again. **** Please help me *********** |
Quote:
Code:
[root@fedora16 ~]# mkdir /etc/yum.repos.d/repo.disabled Code:
[root@fedora16 ~]# mv /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/repo.disabled Code:
[root@fedora16 ~]# ls -l /etc/yum.repos.d/ Run yum clean all to clear up your yum cache directory : Code:
[root@fedora16 ~]# yum clean all |
You can also check from this link: http://linuxinternetworks.com/distri...at-and-fedora/
|
Thanks you very much
|
Hi , Thanks a lot for the fix.
Could you please explain how did it work ?? |
Yum wasn't working untill I found the solution from this forum
Dear all,
I had a same issue that I was unable to install samba sever thru YUM. It has throwed the same error for me too however after following your instructions its got fixed. Thanks for your solution. Can you please let me the reason behind the cause and how to predict such issues, that would greatful me to know from you. Thanks Riyaz M |
All times are GMT -5. The time now is 08:18 PM. |