Can't install VirtualBox on Fedora 42

I’m having trouble installing Virtual Box onto my system. I keep getting the following error -
Failed to download packages
Librepo error: Curl error (6): Could not resolve hostname for https://mirrors.rpmfusion.org/metalink?repo=free-fedora-42&arch=x86_64 [Could not resolve host: mirrors.rpmfusion.org]

My system was showing to have Virtual Box installed, but it wouldn’t run, suggesting that it was broken for some reason (I think I’d tried to uninstall it in the past and didn’t do it right). So I force-removed all traces from my system so I could reinstall, but this error keeps preventing it. Is there a way around this? I’ve checked my DNS and there’s no issues that I can see. Not sure what to do. Thanks in advance!

Hi,
Just used the nslookup command to the rpmfusion server and i obtain the IP addresses associated.

Obviously you have an internet connection on a PC/mobile somewhere as you have raised the issue here on the forum, but does the PC you are using have internet connectivity.

Try the following command :

nslookup mirrors.rpmfusion.org

You should receive the list of IP addresses for the servers.

Regards,
Shadders.

Thanks for the response! Unfortunately I got a server fail error message. I’m attaching a screen shot.

Check the output:

sudo systemctl restart systemd-resolved.service
resolvectl --no-pager query example.net
resolvectl --no-pager query mirrors.rpmfusion.org
resolvectl --no-pager status

here’s a screen shot of the output

Try using a different DNS provider, such as Google or Cloudflare:
Public recursive name server - Wikipedia

yep, that did it! weird, but worked lol. thanks!

2 Likes