Ask Your Question
1

Installing VirtualBox in Fedora 21 using RPM Fusion is giving me problems

asked 2015-02-12 07:33:43 -0600

riclags gravatar image

updated 2015-02-12 10:46:01 -0600

I've recently installed Fedora 21 Workstation and I want to install the VirtualBox package from RPM Fusion. But it is giving me problems.

$ uname -a
Linux a10-5800k 3.18.5-201.fc21.x86_64 #1 SMP Mon Feb 2 21:00:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

$ sudo yum install VirtualBox kmod-VirtualBox
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox.x86_64 0:4.3.20-3.fc21 will be installed
--> Processing Dependency: libSDL-1.2.so.0()(64bit) for package: VirtualBox-4.3.20-3.fc21.x86_64
---> Package kmod-VirtualBox.x86_64 0:4.3.20-4.fc21.3 will be installed
--> Processing Dependency: kmod-VirtualBox-3.18.6-200.fc21.x86_64 >= 4.3.20-4.fc21.3 for package: kmod-VirtualBox-4.3.20-4.fc21.3.x86_64
--> Running transaction check
---> Package SDL.x86_64 0:1.2.15-17.fc21 will be installed
---> Package kmod-VirtualBox-3.18.6-200.fc21.x86_64.x86_64 0:4.3.20-4.fc21.3 will be installed
--> Processing Dependency: kernel-uname-r = 3.18.6-200.fc21.x86_64 for package: kmod-VirtualBox-3.18.6-200.fc21.x86_64-4.3.20-4.fc21.3.x86_64
--> Finished Dependency Resolution
Error: Package: kmod-VirtualBox-3.18.6-200.fc21.x86_64-4.3.20-4.fc21.3.x86_64 (rpmfusion-free-updates)
           Requires: kernel-uname-r = 3.18.6-200.fc21.x86_64
           Installed: kernel-core-3.17.4-301.fc21.x86_64 (@koji-override-0/$releasever)
               kernel-uname-r = 3.17.4-301.fc21.x86_64
           Installed: kernel-core-3.18.5-201.fc21.x86_64 (@updates)
               kernel-uname-r = 3.18.5-201.fc21.x86_64
           Available: kernel-debug-core-3.17.4-301.fc21.x86_64 (fedora)
               kernel-uname-r = 3.17.4-301.fc21.x86_64+debug
           Available: kernel-debug-core-3.18.5-201.fc21.x86_64 (updates)
               kernel-uname-r = 3.18.5-201.fc21.x86_64+debug
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

The problem is that the RPM Fusion kmod-VirtualBox.x86_64 points to kmod-VirtualBox-3.18.6-200.fc21.x86_64. There is an available kmod-VirtualBox for my current kernel and I try to install that like so.

$ sudo yum install VirtualBox kmod-VirtualBox-3.18.5-201.fc21.x86_64.x86_64

But I still get the same dependency check error as above. I guess my question is how do I install VirtualBox so that it uses the kmod with the same kernel Fedora 21 is using?

I have tried updating as of this post but Fedora 21 still doesn't have the 3.18.6-200.fc21 kernel available.

Update:

I tried this:

$ sudo yum install kmod-VirtualBox-3.18.5-201.fc21.x86_64.x86_64
...
Installed:
  kmod-VirtualBox-3.18.5-201.fc21.x86_64.x86_64 0:4.3.20-4.fc21.2               

Dependency Installed:
  VirtualBox-guest.x86_64 0:4.3.20-3.fc21                                       

Complete!

Then

$ sudo yum install VirtualBox
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox.x86_64 0:4.3.20-3.fc21 will be installed
--> Processing Dependency: libSDL-1.2.so.0()(64bit) for package: VirtualBox-4.3.20-3.fc21.x86_64
--> Running transaction check
---> Package SDL.x86_64 0:1.2.15-17.fc21 will be installed
--> Processing Conflict: VirtualBox-guest-4.3.20-3.fc21.x86_64 conflicts VirtualBox <= 4.3.20-3.fc21
--> Processing Conflict: VirtualBox-4.3.20-3.fc21.x86_64 conflicts VirtualBox-guest <= 4.3.20-3.fc21
--> Finished Dependency Resolution
Error: VirtualBox-guest conflicts with VirtualBox-4.3.20-3.fc21.x86_64
Error: VirtualBox conflicts with VirtualBox-guest-4.3.20-3.fc21.x86_64
 You ...
(more)
edit retag flag offensive close merge delete

Comments

I had this problem with updates run last night. It looks like RPMFusion don't have the kernel modules built yet for the updated kernel. If it's not done by tomorrow, I suggest raising a ticket in rpmfusion's bug system.

This module should be available, it's quite an important one, but I think it might have been missed.

cobra gravatar imagecobra ( 2015-02-12 07:52:59 -0600 )edit

The thing is my current kernel is 3.18.5-201.fc21 and there is a kmod-VirtualBox-3.18.5-201.fc21 but the kmod-VirtualBox metapackage points to a newer kernel 3.18.6-200.fc21. I am wondering how I can "force" install kmod-VirtualBox-3.18.5-201.fc21 along with VirtualBox and not get the error I am getting.

riclags gravatar imagericlags ( 2015-02-12 08:07:48 -0600 )edit

Ahhh, I don't remember seeing that in my failed update last night. You can specify the whole package name in your yum call, something like yum install kmod-VirtualBox-3.18.5-201.fc21.

cobra gravatar imagecobra ( 2015-02-12 08:33:45 -0600 )edit

I tried what you suggested, cobra. Please see my update to question above.

riclags gravatar imagericlags ( 2015-02-12 10:48:24 -0600 )edit

OK, fair enough, that was only an attempted workaround anyway. If I were you I'd do two things:

  1. ensure that nothing was installed by attempting the install by full package name - it looks like it failed, but it's best to be certain.

  2. raise a ticket with rpmfusion, you've plenty of information for them in your original question. At a guess they need to get the right packages built and available because that's what's hurting you.

cobra gravatar imagecobra ( 2015-02-13 04:11:11 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-02-13 19:34:45 -0600

riclags gravatar image

As of this post, Fedora just got the 3.18.6-200.fc21 kernel and I've updated to it. I'm now able to install the VirtualBox package from RPM Fusion.

edit flag offensive delete link more

Comments

Yes, it seems to be fixed now. I've run the update too.

cobra gravatar imagecobra ( 2015-02-14 01:06:23 -0600 )edit
0

answered 2015-02-13 02:51:30 -0600

Glenn gravatar image

The answer is to get rid of the junk from rpmfusion and use the rpm provided by Oracle. Yes, the one that ends with fedora18-1. Works flawlessly on my Fedora 21 system and has been perfect since Fedora 18.

edit flag offensive delete link more

Comments

Your reference to 'junk' is unhelpful - Oracle don't have a Fedora 21 repository, rpmfusion try to provide one. There is a build problem in the VirtualBox kernel packages in rpmfusion, this is a localised issue, and is of a level that is no different to Oracle's choice not to provide a suitable repository at all.

Frankly, I'm more concerned about using the Oracle repositories because of the political decision the company have made than in using a repository with a single broken package.

cobra gravatar imagecobra ( 2015-02-13 04:10:05 -0600 )edit

On the contrary, I consider my answer to be extremely helpful. As stated, I've been using the F18 rpm downloaded from the Oracle site since I was using Fedora 18. I've used the same rpm for F19 and F20 and use it for the currently installed Fedora 21. I have zero issues with this package and consider it to be as stable as a rock. The rpm from the Fedora repositories causes nothing but endless issues. As one who frequents many Linux related forums, and has done so for the last 10+ years, I've seen countless posts about Fedora's virtualbox package and the issues that surround the use thereof.

I'm a Fedora user and have been so since Fedora Core1 so believe me, I'm not here to bash Fedora. The virtualbox package, though, is nothing but trouble.

Question: Where do you see a reference ...(more)

Glenn gravatar imageGlenn ( 2015-02-13 06:33:16 -0600 )edit

I didn't say your answer was unhelpful - your solution is good, just the reference to a solution different to yours being 'junk'. I prefer to see multiple good answers to questions, it makes this place better.

The Oracle repository is where one gets the rpm for this package. You can also download it, but Oracle's own position on this is clear - they made a conscious decision not to provide updates for the newest Fedora.

cobra gravatar imagecobra ( 2015-02-13 11:26:17 -0600 )edit

Fair enough. I understand your position. In the future I'll refrain from this type of language.

Glenn gravatar imageGlenn ( 2015-02-13 18:23:28 -0600 )edit

Oracle does have a repo for F21

florian gravatar imageflorian ( 2015-02-13 21:00:36 -0600 )edit
0

answered 2015-03-05 12:25:28 -0600

sergiomb gravatar image
 yum install kmod-VirtualBox-3.18.5-201.fc21.x86_64.x86_64
...
Installed:
  kmod-VirtualBox-3.18.5-201.fc21.x86_64.x86_64 0:4.3.20-4.fc21.2               

Dependency Installed:
  VirtualBox-guest.x86_64 0:4.3.20-3.fc21

yeah , akmods aren't perfect , I don't find a way to rpm knows when is install a package, if system is the guest or the host, so rpm dependencies of kmod needs VirtualBox-guest or VirtualBox in your case

yum remove VirtualBox-guest 
yum install VirtualBox kmod-VirtualBox-$(uname -r)

and

systemctl restart systemd-modules-load

please

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2015-02-12 07:33:43 -0600

Seen: 6,466 times

Last updated: Mar 05 '15