Ask Your Question
0

Can't install VirtualBox on Fedora 29. "Could not depsolve transaction; 1 problem detected"

asked 2018-11-09 10:28:09 -0500

JimmyK1995 gravatar image

I also tried to install it using: dnf install VirtualBox-5.2 It gives me the following error:

Failed to synchronize cache for repo 'virtualbox', ignoring this repo.

Last metadata expiration check: 0:01:32 ago on Fri 09 Nov 2018 04:59:37 PM CET.

No match for argument: Virtualbox-5.2

edit retag flag offensive close merge delete

Comments

@JimmyK1995 , VirtualBox repo isn't available yet for fedora 29 -> Linux_Downloads

hhlp gravatar imagehhlp ( 2018-11-09 10:34:02 -0500 )edit
1

It is available from Rpmfusion, though.

villykruse gravatar imagevillykruse ( 2018-11-09 10:50:41 -0500 )edit

The problem is that the package is not called Virtualbox-5.2 but VirtualBox-5.2. Try again.

florian gravatar imageflorian ( 2018-11-15 13:46:53 -0500 )edit

@hhlp: VirtualBox from Oracle's repository is never available for newer Fedora releases. Fedora 28 and 27 use the release compiled for F26. If you look here you will find out that the directory is just a symlink to the F26 directory. Same will likely happen to F29.

florian gravatar imageflorian ( 2018-11-15 13:50:47 -0500 )edit

It's available from Oracle repo if you modify your repo:

baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/26/x86_64
florian gravatar imageflorian ( 2018-11-15 13:52:23 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-11-15 05:04:13 -0500

malv gravatar image

I had the same issue...
I'm running fedora 29 and couldn't install VBox (nor via .rpm file or dnf)
Looks like it's not available via rpm but it's available via RpmFusion checkout this link.
Worked for me.

According to link do this:

$ dnf install VirtualBox kernel-devel-$(uname -r) akmod-VirtualBox
$ akmods
$ systemctl restart systemd-modules-load.service
$ dmesg | grep -i vbox

You should see these as result:

[ 2870.556703] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[ 2870.565213] vboxdrv: Found 2 processor cores
[ 2870.571315] vboxdrv: fAsync=0 offMin=0x1c2 offMax=0xa5f
[ 2870.671515] vboxdrv: TSC mode is Synchronous, tentative frequency 3000795689 Hz
[ 2870.671519] vboxdrv: Successfully loaded version 5.0.6_ (interface 0x00240000)
[ 2870.671946] VBoxNetFlt: Successfully started.
[ 2870.672227] VBoxNetAdp: Successfully started.

Then add it to user group: For each user that you want run VirtualBox, please do as root:

usermod -a -G vboxusers username ( usermod -a -G vboxusers sergiomb )

Hope it works.

edit flag offensive delete link more

Comments

Actually, doing

sudo dnf install VirtualBox

will fetch all dependencies need to build the vbox driver, build it and install it as a kernel module. After that you are ready to go, unless you run into issues with security boot and the unsigned kernel module.

villykruse gravatar imagevillykruse ( 2018-11-15 13:11:01 -0500 )edit
0

answered 2018-11-09 14:46:21 -0500

florian gravatar image

updated 2018-11-09 14:49:14 -0500

Oracle's Virtualbox is pretty bad at supporting current Fedora releases.

You will have to adjust your virtualbox repo by editing /etc/yum.repos.d/virtualbox.repo as follows:

Set baseurl to:

baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/26/x86_64

(they will eventually symlink it, so you can use baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch in the future)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-11-09 10:28:09 -0500

Seen: 1,362 times

Last updated: Nov 09 '18