Can't upgrade to fedora 42 because of virtualbox

Hi Everyone,

Seems that virtual box’s repo isn’t letting me install fedora 42. I receive this error:

cannot update repo ‘virtualbox’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for http://download.virtualbox.org/virtualbox/rpm/fedora/42/x86_64/repodata/repomd.xml (IP: 23.199.48.88)

Is it worth waiting for them to release a compatiable version or should i just remove this? I currently uninstalled the program as i don’t use it often but would not entirely mind waiting either way.

Any easy way to go about this?

Thanks.

That’s your call to make. 41 will still be supported for another six months. The rpmfusion packaged version might also be an option.

1 Like

I’ll check out the RPM. even when i uninstall it with dnf uninstall VirtualBox it throws up the same error. I guess the repo doesn’t go away on its own.

I’m generally pretty okay with waiting even though i’m excited for the new features.

Correct - you can disable it though with dnf or in the file at /etc/yum.repos.d

for now I’ll wait. But I guess the easiest thing is removing the file from that directory.

Thanks.

1 Like

I think the easiest thing is to remove Virtualbox package from Oracle and install it from rpmfusion (if you want to stick to Virtualbox).

What you can also do, I have done that for years in the past, point to the f41 repo and run the package built for f41 in f42. Usually this works just fine.

2 Likes

I’ll give it a try today. Saturday is usually my day to take the time to deal with my computer (as a pose to just play on it).

I haven’t used virtualbox for a while now but it’s a nice free virtual machine program that works on fedora. (Vmware didn’t work last time i tried + it’s not necessarily free).

You could disable the repo

sudo dnf config-manager setopt  virtualbox.enabled=0
2 Likes

I’ve gotten VMware to work, but I mainly use libvirt, which is free, included in Fedora, and the backend for a whole lot of major platforms like OpenStack, kubevirt, etc. There are GUIs for in it Fedora such as Gnome Boxes and virt-manager.

1 Like

Good to know.

Keep in mind last time i tried was last year. Much like how we used to have to deal with Nvidia’s closed sourced drivers, things can change. I’ll give VMware another try.

I got it to work, but VMWare was a bit of a pain. libvirt is by far the easiest of the three in my experience. I personally prefer the old virt-manager, but Gnome Boxes is also just fine if you want something simpler with a more modern UI.

I ran this but still the same issue.

cannot update repo ‘virtualbox’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for http://download.virtualbox.org/virtualbox/rpm/fedora/42/x86_64/repodata/repomd.xml (IP: 23.199.48.88)

Edit: Just updated, disregard. Deleted the file where it sits in repo and it updated. I’m now on Fedora 42 :slight_smile:

1 Like