virtualbox libpython fail

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

virtualbox libpython fail

Postby mark9117 » Mar 18th, '12, 09:09

Magia 1 (kernel 2.6.38.8-server-10.mga)
VirtualBox-4.1-4.1.10_76795_mdv2010.0-1.i586.rpm, etc.
/usr/lib/libpython2.7.so.1.0

Attempts to install rpm yield dependency error:

Code: Select all
    rpm -i /mnt/shuttle/server/Linux/Downloads/VirtualBox-4.1-4.1.10_76795_mdv2010.0-1.i586.rpm
    warning: /mnt/shuttle/server/Linux/Downloads/VirtualBox-4.1-4.1.10_76795_mdv2010.0-1.i586.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
    error: Failed dependencies:
            libcrypto.so.0.9.8 is needed by VirtualBox-4.1-4.1.10_76795_mdv2010.0-1.i586
            libpython2.6.so.1.0 is needed by VirtualBox-4.1-4.1.10_76795_mdv2010.0-1.i586
            libssl.so.0.9.8 is needed by VirtualBox-4.1-4.1.10_76795_mdv2010.0-1.i586


This happens regardless of the virtualbox version I try to install.

It seems the package manager can handle the libcrypto and libssl dependencies, but the libpythong2.6 is a show stopper.

Advice?

Mark

Edit: Okay just found this: viewtopic.php?f=7&t=772

I will stop beating the horse now.
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: virtualbox libpython fail

Postby doktor5000 » Mar 18th, '12, 11:26

May i ask why you don't just install the working virtualbox version from the Mageia repositories?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox libpython fail

Postby mark9117 » Mar 18th, '12, 20:38

doktor5000 wrote:May i ask why you don't just install the working virtualbox version from the Mageia repositories?


Fair question. Here's what it comes down to: I have been working on this project on my laptop and my desktop (both Mageia 1, fully up-to-date, etc.), and the desktop is working well. I have mouse pointer integration, usb devices, all the bells and whistles. The laptop, not so much.

I have installed virtualbox, guest additions, dkms kernel, and extension pack, added my user to the vboxusers group, rebooted and everything short of sacrificing a chicken under the full moon. I can't get any of the mouse pointer goodies or usb functions. My assumption was that I could install the packages from Oracle, like we did in the old days a couple of years ago. This seems to not be the case. In light of information like this: http://comments.gmane.org/gmane.linux.mageia.user/4130 it seems I'm just chasing my tail.

I have no idea why this stuff is not working on my laptop. Any suggestions are welcome.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: virtualbox libpython fail

Postby doktor5000 » Mar 18th, '12, 21:15

To maybe clear something up, the normal way would be to install dkms-virtualbox and virtualbox on the host machine,
and to install dkms-vboxadditions in the virtualised guest installation. If you do that, mouse integration, shared clipboard
automatic display resizing and folder sharing should work, provided both packages installed ok in the host and the guest
and the corresponding kernel modules were built ok and loaded. MAybe you want to install them via urpmi to see the build process,
and eventual error messages.

For folder sharing you also need to add the guest user to the vboxsf group for non-root write access by the guest user.
For usb, you also need the host user to the vboxusers and usb group, and install the extension pack in the corresponding version to the installed virtualbox version IIRC.

For troubleshooting resulting problems, i'll try to post something tomorrow evening, if i find the time (due to new dayjob)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox libpython fail

Postby mark9117 » Mar 18th, '12, 22:48

doktor5000 wrote:To maybe clear something up, the normal way would be to install dkms-virtualbox and virtualbox on the host machine,
and to install dkms-vboxadditions in the virtualised guest installation. If you do that, mouse integration, shared clipboard
automatic display resizing and folder sharing should work, provided both packages installed ok in the host and the guest
and the corresponding kernel modules were built ok and loaded. MAybe you want to install them via urpmi to see the build process,
and eventual error messages.

For folder sharing you also need to add the guest user to the vboxsf group for non-root write access by the guest user.
For usb, you also need the host user to the vboxusers and usb group, and install the extension pack in the corresponding version to the installed virtualbox version IIRC.

For troubleshooting resulting problems, i'll try to post something tomorrow evening, if i find the time (due to new dayjob)


According to my package manager, I have dkms-virtualboxadditions installed, as well as dkms-virtualbox, virtualbox, virtualbox-doc, and virtualbox-guest-additions. I don't really know why dkms-virtualboxadditions doesn't show up when you search the package manager for "virtualbox" but at any rate....

I have added my user to the vboxusers group. One thing I am running into is an nsis error when attempting to install the guestadditions and extension pack in the Windows 7 guest. None of the resolutions I have found on the web for that issue is working. I don't know why it's not working on the laptop.

I would appreciate any more light anyone could shed on this thing.

Thanks.

Mark

Edit: I have checked and all of these packages are for ver 4.0.14 of virtualbox. And how do I install dkms-virtualboxadditions.rpm on a Windows guest?
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: virtualbox libpython fail

Postby doktor5000 » Mar 18th, '12, 22:59

mark9117 wrote:I don't really know why dkms-virtualboxadditions doesn't show up when you search the package manager for "virtualbox" but at any rate....

Because the mageia package for that one is called dkms-vboxadditions and that is only needed for the guest ;)

mark9117 wrote:Edit: I have checked and all of these packages are for ver 4.0.14 of virtualbox. And how do I install dkms-virtualboxadditions.rpm on a Windows guest?

Not an RPM, just do it via the menu -> Devices -> Install guest additions, then (maybe Virtualbox needs to download an ISO image of the guest additions, just let it do that, if you run that for the first time) you should get an autorun popup in your windows machine, where you can install the guest additions.

You can also use that for Mageia or any other linux, but you need to manually install some package for that so that, namely task-c++-devel and kernel-$flavour-devel-latest, so that it can compile the needed kernel modules. This is basically the same as installing the dkms-vboxadditions package for a Mageia guest, just more inconvenient IMHO.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox libpython fail

Postby mark9117 » Mar 18th, '12, 23:31

doktor5000 wrote:
mark9117 wrote:I don't really know why dkms-virtualboxadditions doesn't show up when you search the package manager for "virtualbox" but at any rate....

Because the mageia package for that one is called dkms-vboxadditions and that is only needed for the guest ;)


Okay, forgive me. I have a raging head cold and am attempting to be heavily medicated (though not heavily enough at this point) and reading is a real chore for me. I would also say that my patience with this whole thing is running short. I need chicken soup and a nap. But anyway....

mark9117 wrote:Edit: I have checked and all of these packages are for ver 4.0.14 of virtualbox. And how do I install dkms-virtualboxadditions.rpm on a Windows guest?

Not an RPM, just do it via the menu -> Devices -> Install guest additions, then (maybe Virtualbox needs to download an ISO image of the guest additions, just let it do that, if you run that for the first time) you should get an autorun popup in your windows machine, where you can install the guest additions.


And I do. I click yes and quickly see the NSIS error. Running the installer with the "/NCRC" switch does not resolve that issue, it just tosses an error related to decompressing the file. It's convinced that the installer is corrupt. I've downloaded it multiple times, everything looks just fine, but it won't install. I don't have this issue on my desktop.

You can also use that for Mageia or any other linux, but you need to manually install some package for that so that, namely task-c++-devel and kernel-$flavour-devel-latest, so that it can compile the needed kernel modules. This is basically the same as installing the dkms-vboxadditions package for a Mageia guest, just more inconvenient IMHO.


Sounds good, but I just want to get things humming here on the laptop.

Thanks for the assist. I do appreciate it.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron