Ask Your Question
2

Fedora 21: Virtualbox repos available?

asked 2015-01-09 10:41:48 -0600

florian gravatar image

updated 2015-02-12 17:02:16 -0600

Hi,

I just upgraded and I had to disable the virtualbox repos due to unavailability for Fedora21.

Is there a workaround out there?

Thanks

UPDATE (2/11/2015): Oracle has released Virtualbox repos for F21 on their website.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2015-01-14 00:55:00 -0600

cgonz31 gravatar image

updated 2015-01-14 08:51:13 -0600

I am running VirtualBox from the Oracle RPM repo in Fedora 21 Workstation (64-bit).

All I did was to hard code the F20 repo in the Oracle repo file. Not the best solution but until there's an F21 repo, this will work.

On your VirtualBox repo file (/etc/yum.repos.d/virtualbox.repo) change the following:

[virtualbox]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc

Change all instances $releasever to 20. If you don't have the repo file, download it here:

http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

edit flag offensive delete link more

Comments

Yes, this will work, but be careful to keep a backup of your original virtualbox.repo file so you can restore it easily when the F21 repo becomes available. And test your install - there should be no problems encountered but there's always that (very slim) chance that the binaries built will diverge at some point as this is for a different version of Fedora.

cobra gravatar imagecobra ( 2015-01-14 05:55:33 -0600 )edit

It works thus far. Hopefully, a dedicated F21 version and repo is released soon.

cgonz31 gravatar imagecgonz31 ( 2015-01-14 08:50:23 -0600 )edit

@cgonz31: I don't think that there will a dedicated version of Virtualbox for Fedora21. All they do is to adapt there download directory and release a corresponding .repo file. Check http://download.virtualbox.org/virtualbox/rpm/fedora/ to see that the binary rpm file of Virtualbox is the same for Fedora 18, 19, and 20.

florian gravatar imageflorian ( 2015-01-14 10:33:31 -0600 )edit

Well, since the same binary file has worked since F18 then we should not expect any problems with using this binary built on F21, right? I have not experienced any issues thus far.

cgonz31 gravatar imagecgonz31 ( 2015-01-14 13:36:15 -0600 )edit

Yes, it's probably safe to assume that all is fine. It's a useful solution if you can't or don't want to use the rpmfusion repository. Thing is they'd end up changing things just when you lease expect it. Sod's law is that...

cobra gravatar imagecobra ( 2015-01-14 14:40:28 -0600 )edit
2

answered 2015-01-09 10:57:57 -0600

cobra gravatar image

It's available through rpmfusion.org . That's the version that I use in F21.

edit flag offensive delete link more

Comments

The difference is that it exists. The reason you can't use the Oracle repository is that there isn't one for Fedora 21.

I remember reading a while ago (for F20, or maybe 19) that the USB support is crippled unless you use the official Oracle repo, but there seem to be tools you can install that are supposed to enable it. I've never got it to work, though.

cobra gravatar imagecobra ( 2015-01-09 17:01:14 -0600 )edit
2

Oracle VirtualBox contains proprietary stuff which can't be shipped by Fedora or other Linux distros. It also has Guest Additions pre-packaged. https://www.virtualbox.org/wiki/Editions . Oracle will release a Fedora 21 at some point of time in future.

sudhirkhanger gravatar imagesudhirkhanger ( 2015-01-10 01:28:01 -0600 )edit

I get this issue trying to install from rpmfusion, please advise: Error: Package: kmod-VirtualBox-3.17.7-300.fc21.x86_64-4.3.20-2.fc21.2.x86_64 (rpmfusion-free-updates) Requires: kernel-uname-r = 3.17.7-300.fc21.x86_64 Installed: kernel-core-3.17.4-301.fc21.x86_64 (@koji-override-0/$releasever)

Mike__B gravatar imageMike__B ( 2015-01-14 01:17:32 -0600 )edit

@Mike__B: You might want to post this as a new question...

florian gravatar imageflorian ( 2015-01-14 10:35:30 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2015-01-09 10:41:48 -0600

Seen: 2,378 times

Last updated: Feb 12 '15