Categories
HowTo Linux Posts

How To Fix: Error: Cannot retrieve repository metadata (repomd.xml) for repository: Dropbox. Please verify its path and try again

After installing dropbox from the RPM package availble on the site on a new Fedora 15 install, I was unable to use yum without coming across this error:

$ update
Loaded plugins: langpacks, presto, refresh-packagekit
http://linux.dropbox.com/fedora/15/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://linux.dropbox.com/fedora/15/repodata/repomd.xml
Trying other mirror.
http://linux.dropbox.com/fedora/15/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://linux.dropbox.com/fedora/15/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: Dropbox. Please verify its path and try again

For some unknown reason dropbox repos dont seem to work past 13 so you’ll need to change the dropbox.repo file from detecting the current release to 13 like so:

Open the dropbox.repo file:

sudo gedit /etc/yum.repos.d/dropbox.repo 

Change the baseurl from $relesever to 13 like so:

Original:

[Dropbox]
name=Dropbox Repository
baseurl=http://linux.dropbox.com/fedora/$releasever/
gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc

New:

[Dropbox]
name=Dropbox Repository
baseurl=http://linux.dropbox.com/fedora/13/
gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc

Save and close and everything should be working, try using sudo yum update to check and the error should have gone away. If not give a reboot a try.

28 replies on “How To Fix: Error: Cannot retrieve repository metadata (repomd.xml) for repository: Dropbox. Please verify its path and try again”

Thanks a lot, this is my first time with Fedora and I’m loving it. Again thanks, this helped a lot.

i had the same problem, I’m using CenOS6, once i had the same error message and after did the steps mention above it solved. but after few days i only did “yum clean all”, after that i had the same error again, try this steps several times, reboot the machine but no response. please help me to solve this.
thanks.

I am getting an error of this sort when I am running the command yum install gcc -y

Loaded plugins: langpacks, presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

How do I resolve this error.Can you please tell me?

Ajit

flow this step
# cat /etc/redhat-release
# yum list
# cd /etc/yum.repos.d/
# ls
# ls -al
# mkdir /root/yum.repos.d
# mv dag.repo /root/yum.repos.d/
# mv rpmforge.repo /root/yum.repos.d/
# yum list
# ls -al /root/yum.repos.d/

We know the installation details, please provide the solution for the below error.

Loaded plugins: langpacks, presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

The problem happened on my PC was “Error: Cannot retrieve repository metadata (repomd.xml) for repository: heimu. Please verify its path and try again”,this problem happened many times when I wanted to use yum to install something.Who could tell me what “heimu” is and how to fix it.

Thank you very very very much! You saved so much my time! I was trying to fix it different ways already 2 hours before I have found this post. THANK YOU!!!! I WISH YOU THE BEST THING YOU WANT, BROTHER!

Leave a Reply

Your email address will not be published. Required fields are marked *