Installing VirtualBox in Fedora 21 using RPM Fusion is giving me problems
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 ...
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.
The thing is my current kernel is
3.18.5-201.fc21
and there is akmod-VirtualBox-3.18.5-201.fc21
but thekmod-VirtualBox
metapackage points to a newer kernel3.18.6-200.fc21
. I am wondering how I can "force" installkmod-VirtualBox-3.18.5-201.fc21
along withVirtualBox
and not get the error I am getting.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
.I tried what you suggested, cobra. Please see my update to question above.
OK, fair enough, that was only an attempted workaround anyway. If I were you I'd do two things:
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.
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.