PDA

View Full Version : [SOLVED] VirtualBox on F14 Host


Palooka
8th September 2010, 06:11 PM
Hi,

I'm trying to install VirtualBox onto Fedora 14 Alpha (Note: I mean VirtualBox onto a F14 Alpha host, not F14 into a VM).

I have downloaded the 'Yum for Linux' version from the VirtualBox website.The file is VirtualBox-3.2-3.2.8_64453_fedora13-1.x86_64.rpm.

When I try to install it (using Yum) I get the following error:
------------------------------------------------------------------------------------------------------
Error: Package: VirtualBox-3.2-3.2.8_64453_fedora13-1.x86_64 (/VirtualBox-3.2-3.2.8_64453_fedora13-1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: VirtualBox-3.2-3.2.8_64453_fedora13-1.x86_64 (/VirtualBox-3.2-3.2.8_64453_fedora13-1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7-7.fc14.x86_64 (@fedora/$releasever)
python(abi) = 2.7
Available: compat-python24-2.4.6-1.fc13.x86_64 (rpmfusion-free-rawhide)
python(abi) = 2.4
Available: python3-3.1.2-13.fc14.i686 (fedora)
python(abi) = 3.1
------------------------------------------------------------------------------------------------------
So it seems it doesn't like the Python version. By the looks of it, it wants Python 2.6 but I have Python 2.7.
Can I do anything about this, or must I just wait?

Thanks,
Palooka

sej7278
8th September 2010, 06:41 PM
well-known problem - the f13 version won't work as f14 includes python 2.7

oracle have said they will rebuild an f14 version when its released.

have you tried compiling the ose version from svn?

Palooka
8th September 2010, 06:57 PM

Thanks for the very quick response.

I'm a bit reluctant to attempt compiling. Would it be worthwhile to try installing this instead?
--------------------------------------------------------------------------
[palooka@testbox ~]$ yum info VirtualBox-OSE.x86_64
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_GB to language list
Available Packages
Name : VirtualBox-OSE
Arch : x86_64
Version : 3.2.6
Release : 2.fc14
Size : 15 M
Repo : rpmfusion-free-rawhide
Summary : A general-purpose full virtualizer for PC hardware
URL : http://www.virtualbox.org/wiki/VirtualBox
License : GPLv2 or (GPLv2 and CDDL)
Description : A general-purpose full virtualizer and emulator for 32-bit and
: 64-bit x86 based PC-compatible machines.
--------------------------------------------------------------------------
Thanks again,
Palooka

kto
8th September 2010, 07:13 PM
I was going to say that, but then found out, that this package requires python 2.6 too (of course). So it wont install.

vallimar
8th September 2010, 08:25 PM
It hasn't affected anything for me, just force install using rpm.
rpm -Uhv VirtualBox* --nodeps

necrolatry
13th September 2010, 10:00 PM
Hello vallimar,

Thanks for your hint regarding forcing install of Virtual Box. It worked, but untill it was the time to compile vbox driver.

I am running FC14 x32 bit edition and here is what I see when I try to install vbox:

$ rpm -Uhv ./VirtualBox-3.2-3.2.8_64453_fedora13-1.i686.rpm --nodeps
warning: ./VirtualBox-3.2-3.2.8_64453_fedora13-1.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
[volodymyr@localhost Downloads]$ sudo rpm -Uhv ./VirtualBox-3.2-3.2.8_64453_fedora13-1.i686.rpm --nodeps
[sudo] password for volodymyr:
warning: ./VirtualBox-3.2-3.2.8_64453_fedora13-1.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing... ########################################### [100%]
1:VirtualBox-3.2 ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute

/etc/init.d/vboxdrv setup

as root.

Now if I try to see log file:

$ cat /var/log/vbox-install.log

Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

What will be the best way to defeat this problem? Thanks a lot for your hint!

SlowJet
14th September 2010, 12:46 AM
kernel-PAE, kernel-PRE-devel, kernel-headers, perf, qt3, qt , and any other deps noted on www.virtualbox.org.

Add the vboxusers group to you username

in root term
/etc/init.d/vboxdrv setup

SJ

borzole
21st October 2010, 02:22 PM
You can rebuild binary package:
~ ] # yum install rpm-build rpmdevtools rpmrebuild
~ ] $ rpmdev-setuptree
~ ] $ rpmrebuild -e -p -n VirtualBox-3.2-3.2.10_66523_fedora13-1.x86_64.rpm
and change 2.6 to 2.7
Requires: python(abi) = 2.7
Requires: libpython2.7.so.1.0()(64bit)

;)

Palooka
21st October 2010, 04:35 PM
You can rebuild binary package:
~ ] # yum install rpm-build rpmdevtools rpmrebuild
~ ] $ rpmdev-setuptree
~ ] $ rpmrebuild -e -p -n VirtualBox-3.2-3.2.10_66523_fedora13-1.x86_64.rpm
and change 2.6 to 2.7
Requires: python(abi) = 2.7
Requires: libpython2.7.so.1.0()(64bit)

:)

Perfect. Very many thanks indeed, borzole. Marking thread as solved :D