[WorksForMe] Unable to Reach VirtualBox Repo via Yum on CentOS

Discussions related to using VirtualBox on Linux hosts.
Post Reply
jeff112323541351
Posts: 4
Joined: 17. Oct 2019, 17:02

[WorksForMe] Unable to Reach VirtualBox Repo via Yum on CentOS

Post by jeff112323541351 »

I am unable to install VirtualBox on CentOS 7.7 using Yum. I added the VirtualBox repo file (/rpm/el/virtualbox.repo) to /etc/yum.repos.d/. When trying to search for VirtualBox or do a 'yum repolist', Yum cannot find the /rpm/el/latest/x86_64/repodata/repomd.xml file.

I looked around in org/virtualbox/rpm/el/ and there is no latest directory (or symbolic link pointing to the latest version). I tried the basic troubleshooting steps, like removing the Yum cache and 'yum clean all', but no change.

I could not put the full link addresses because the forum is prohibiting me from doing so.
Last edited by socratis on 21. Oct 2019, 22:45, edited 1 time in total.
Reason: Marked as [WorksForMe].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to Reach VirtualBox Repo via Yum on CentOS

Post by socratis »

Is that still the case? There was a glitch with the repositories, can you try again?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
jeff112323541351
Posts: 4
Joined: 17. Oct 2019, 17:02

Re: Unable to Reach VirtualBox Repo via Yum on CentOS

Post by jeff112323541351 »

I tried again today and the errors are different. Now Yum is looking in http://download.virtualbox.org/virtualb ... /repodata/ (which is a valid path), but I am still getting 404 errors when running 'yum repolist' or 'yum install virtualbox'. Output of 'yum repolist':

virtualbox/7/x86_64/primary_db FAILED
http://download.virtualbox.org/virtualb ... sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://download.virtualbox.org/virtualb ... sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
virtualbox/7/x86_64/primary_db FAILED
http://download.virtualbox.org/virtualb ... sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://download.virtualbox.org/virtualb ... sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found

The current sqlite.bz2 files have a hex prefix different from 521c97e54890e583573e9b5a48288fdd6630631e5a6fcb14e587669c7807a14e.
klaus
Oracle Corporation
Posts: 1335
Joined: 10. May 2007, 14:57

Re: Unable to Reach VirtualBox Repo via Yum on CentOS

Post by klaus »

Sounds like stale/inconsistent repomd.xml data on your end (this file references the others), because on our side it seems to be consistent. Last updated about 44h ago.

Try running "yum clean all" (throws away all cached repo information) and see if things work afterwards again.
jeff112323541351
Posts: 4
Joined: 17. Oct 2019, 17:02

Re: Unable to Reach VirtualBox Repo via Yum on CentOS

Post by jeff112323541351 »

As I mentioned in my first post, I tried running 'yum clean all'. I am constantly deploying new AWS instances that encounter this issue, so I don't think it was related to a stale cache.
jeff112323541351
Posts: 4
Joined: 17. Oct 2019, 17:02

Re: Unable to Reach VirtualBox Repo via Yum on CentOS

Post by jeff112323541351 »

It works now. Followed the exact same steps, not quite sure what changed.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to Reach VirtualBox Repo via Yum on CentOS

Post by socratis »

Glad you finally got it going. Marking as [WorksForMe].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply