SliTaz SliTaz Forum

You are not logged in.

#1 2011-08-26 15:33:00

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Cannot install VirtualBox package.

I am trying to install virtual box but I am coming up with the following message, any ideas?

root@slitaz:/home/user# tazpkg get-install virtualbox

Unable to find : virtualbox in the mirrored packages list.

Connecting to download.virtualbox.org (137.254.16.69:80)

VirtualBox-4.1.2-735 100% |*******************************| 71439k 00:00:00 ETA

Creating directory install

Verifying archive integrity... All good.

Uncompressing VirtualBox for Linux installation...........

VirtualBox Version 4.1.2 r73507 (2011-08-15T12:58:31Z) installer

Please install the build and header files for your current Linux kernel.

The current kernel version is 2.6.30.6-slitaz

Problems were found which would prevent VirtualBox from installing.

Please correct these problems and try again.

Offline

#2 2011-08-26 16:47:42

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Cannot install VirtualBox package.

#tazpkg get-install slitaz-toolchain

Offline

#3 2011-08-29 16:07:03

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: Cannot install VirtualBox package.

Sorry for the delay Mojo, Hurricane and all. Tried installing the toolchain. It was already installed so I tried with --Forced. No change. Still same issue.

Offline

#4 2011-08-30 19:41:31

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: Cannot install VirtualBox package.

Any help would of course be appreciated.

Offline

#5 2011-08-30 21:26:22

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Cannot install VirtualBox package.

Try installing slitaz-dev-pkgs and linux-headers

Offline

#6 2011-08-31 12:13:56

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: Cannot install VirtualBox package.

Trixar gave both of those a shot and still a no go. I was able to get virtualbox installed on another slitaz 3.0 laptop I have I don't know what is the problem with this one.

Offline

#7 2011-08-31 13:58:35

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Cannot install VirtualBox package.

Maybe VirtualBox has change on upstream meanwhile.

Try 'tazpkg repack virtualbox' on your other laptop and and install the resulting package.

If it works, get-virtualbox needs to be fixed.

Offline

#8 2011-09-01 17:29:24

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Cannot install VirtualBox package.

@Bellard

I did a test install with get-virtualbox on clean full installs of stable and cooking.

get-virtualbox script on both releases does not generate /var/lib/tazpkg/installed/virtualbox/receipt

tazpkg repack virtualbox is not possible.

The script downloads/extracts Virtualbox , installs the build depends,activates the virtualbox install.

I don't believe it is creating/installing/deleting a virtualbox pseudo tazpkg

The depends that would be in receipt,not installed by build depends (libsdl,libGLU-mesa)have to be manually installed before the Virtualbox Manager will start.

Virtualbox once installed works ok.

Offline

#9 2011-09-02 15:37:13

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: Cannot install VirtualBox package.

Mojo,

Can you provide instructions?

Offline

#10 2011-09-02 15:58:33

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Cannot install VirtualBox package.

Can you test last fix ?

For 3.0

# wget http://hg.slitaz.org/wok-stable/raw-file/af014c35bf00/get-virtualbox/stuff/get-virtualbox

# ./get-virtualbox

For cooking

# wget http://hg.slitaz.org/wok/raw-file/14a02389406d/get-virtualbox/stuff/get-virtualbox

# ./get-virtualbox

Note you rebuild the packages virtualbox-*.tazpkg with

# tazpkg repack virtualbox

Offline

#11 2011-09-05 23:23:19

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Cannot install VirtualBox package.

@Bellard

get-virtualbox both versions install and repack.

3.0 requires more configuration,LOAD_MODULES=, addgroup vboxusers.

Can you backport the pre_remove() post_install() that auto configures from the cooking version to the 3.0 version ?

Virtualbox on cooking wouldn't start after install:

root@slitaz:~# virtualbox

VirtualBox: supR3HardenedVerifyFileInternal: Cannot trust the file "/opt/VirtualBox/VBoxVMM.so": group and/or other writable (st_mode=0100777)

root@slitaz:~# ls -la /opt/VirtualBox/VBoxVMM.so

-rwxrwxrwx    1 root     root       1824276 Aug 15 12:58 /opt/VirtualBox/VBoxVMM.so

Started after this:

root@slitaz:~# chmod 644 /opt/VirtualBox/VBoxVMM.so

root@slitaz:~# ls -la /opt/VirtualBox/VBoxVMM.so

-rw-r--r--    1 root     root       1824276 Aug 15 12:58 /opt/VirtualBox/VBoxVMM.so

Offline

#12 2011-09-06 09:58:12

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Cannot install VirtualBox package.

@mojo

Thanks for the report.

Can you check the new fix ?

For 3.0 (http://hg.slitaz.org/wok-stable/rev/7ac25989f14b)

# wget http://hg.slitaz.org/wok-stable/raw-file/7ac25989f14b/get-virtualbox/stuff/get-virtualbox

# ./get-virtualbox

For cooking (http://hg.slitaz.org/wok/rev/01076ad2186a)

# wget http://hg.slitaz.org/wok/raw-file/01076ad2186a/get-virtualbox/stuff/get-virtualbox

# ./get-virtualbox

Note: you can skip repack with

# ./get-virtualbox / --keep

Offline

#13 2012-08-10 19:25:25

chenzhen_li
Member
Registered: 2012-07-24
Posts: 20

Re: Cannot install VirtualBox package.

I have Slitaz 4.0 installed on my Core I3 2 GB RAM, Toshiba C645. Runs awesome!.

But, i try to install virtual box with #tazpkg -gi virtualbox and it download a virtualbox-ose and then it's say:

Cannot load module vboxdrv or something like that.

Offline

#14 2012-08-10 20:13:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Cannot install VirtualBox package.

Before you start virtualbox:

# modprobe vboxdrv

Autoload on boot:

# leafpad /etc/rcS.conf

LOAD_MODULES="vboxdrv"

Offline

#15 2012-08-10 20:16:04

chenzhen_li
Member
Registered: 2012-07-24
Posts: 20

Re: Cannot install VirtualBox package.

Mojo, thanks... But modprobe vboxdrv doesn't work, why it will work on boot?.

There is a problem with DKMS in Slitaz-4.0?.

Offline

#16 2012-08-10 21:06:54

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Cannot install VirtualBox package.

Sorry,no problem here.

I installed virtualbox-ose on clean install of slitaz-4.0

modprobe vboxdrv

Boot ubuntu 9.10 iso as guest with no problem.

The post install routine of virtualbox-ose automatically adds vboxdrv vboxnetadp vboxnetflt to LOAD_MODULES= so it autoloads the modules on reboot.

Offline

#17 2012-08-13 00:46:37

chenzhen_li
Member
Registered: 2012-07-24
Posts: 20

Re: Cannot install VirtualBox package.

Ok, i installed slitaz-dev-pkgs an it works!!!!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]