PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 04:12:35 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: getvirtualbox errors - info needed - SOLVED  (Read 535 times)
Hawkeye
Full Member
***
Offline Offline

Posts: 159


« on: January 24, 2012, 03:37:25 AM »

Hi there all
Been experiencing a problem trying to install Oracle VB into this new PCLos2011.9 KDE box.
Was going to install from outside synaptic but found the script getvirtualbox already within to take care of this so went that way.
However, the gui fails with the progress box still stuck at about 10% and I have to kill the process's (2).
I have been at this for a couple of days now (on & off) with the same failure.
If I open a cli and run the getvirtualbox script I get ...
           ./VirtualBox-4.1.8-75467-Linux_x86.run: line 1: syntax error near unexpected token `<'
           ./VirtualBox-4.1.8-75467-Linux_x86.run: line 1: `<HTML></HTML>'
If I look at the vb install log in tmp I find this also.
I checked out the script and all seems fine to me (but I'm no expert).
I thought that there may have been a problem with the Oracle site but I managed to download both the main program and the extensions in little over 10mins?
These are the same version numbers that the script had located during it's check.
Now I had tried the installation process via synaptic several times and run the script from the cli twice as well.
So I thought that I would risk installing the rpms I have downloaded directly only to get missing dependencies namely.....
           libpython2.7.so.1.0 is needed by VirtualBox-4.1-4.1.8_75467_mdv2011.0-1.i586
           libstdc++.so.6(GLIBCXX_3.4.15) is needed by VirtualBox-4.1-4.1.8_75467_mdv2011.0-1.i586
           python(abi) = 2.7 is needed by VirtualBox-4.1-4.1.8_75467_mdv2011.0-1.i586
I tried to locate these missing deps via synaptic --- installed the libpython 2.6 & 3.2 and the libstdc++5 & 6 and python3 (2.6 already installed)
Still get the same errors.
Have located the 'exact' missing dependencies via rpm search (latest mandriva) but thought would ask here before I risk more.
Is anyone else having these problems and if so have you sorted a way out please.
Many thanks.



Logged
rubentje1991
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 2052


Rubenum Parvus MCMXCI


« Reply #1 on: January 24, 2012, 06:11:14 AM »

Did you update completely with Synaptic before trying the getvirtualbox script?
=> I think it is, because it's the latest Virtualbox-version....

But apparently, there's some problem with the VirtualBox package itself?
Soon probably, the creator of the script will jump in, and try to help you  Wink
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4109

Have a nice ... night!


« Reply #2 on: January 24, 2012, 06:48:21 AM »

Hi there all
Been experiencing a problem trying to install Oracle VB into this new PCLos2011.9 KDE box.
Was going to install from outside synaptic but found the script getvirtualbox already within to take care of this so went that way.
However, the gui fails with the progress box still stuck at about 10% and I have to kill the process's (2).
I have been at this for a couple of days now (on & off) with the same failure.
If I open a cli and run the getvirtualbox script I get ...
           ./VirtualBox-4.1.8-75467-Linux_x86.run: line 1: syntax error near unexpected token `<'
           ./VirtualBox-4.1.8-75467-Linux_x86.run: line 1: `<HTML></HTML>'
If I look at the vb install log in tmp I find this also.
I checked out the script and all seems fine to me (but I'm no expert).
I thought that there may have been a problem with the Oracle site but I managed to download both the main program and the extensions in little over 10mins?
These are the same version numbers that the script had located during it's check.
Now I had tried the installation process via synaptic several times and run the script from the cli twice as well.
So I thought that I would risk installing the rpms I have downloaded directly only to get missing dependencies namely.....
           libpython2.7.so.1.0 is needed by VirtualBox-4.1-4.1.8_75467_mdv2011.0-1.i586
           libstdc++.so.6(GLIBCXX_3.4.15) is needed by VirtualBox-4.1-4.1.8_75467_mdv2011.0-1.i586
           python(abi) = 2.7 is needed by VirtualBox-4.1-4.1.8_75467_mdv2011.0-1.i586
I tried to locate these missing deps via synaptic --- installed the libpython 2.6 & 3.2 and the libstdc++5 & 6 and python3 (2.6 already installed)
Still get the same errors.
Have located the 'exact' missing dependencies via rpm search (latest mandriva) but thought would ask here before I risk more.
Is anyone else having these problems and if so have you sorted a way out please.
Many thanks.

It seems you have downloaded the package for Mandriva-2011 ... Why you expect it will work on PCLinuxOS ?

Install the available packages from PCLinuxOS repo:
ptyhon-2.6
libstdc++6
and then rerun getvirtualbox script.  Wink

AS
Logged
GermanTux
Hero Member
*****
Offline Offline

Posts: 572



« Reply #3 on: January 24, 2012, 08:48:50 AM »


It seems you have downloaded the package for Mandriva-2011 ... Why you expect it will work on PCLinuxOS ?

Install the available packages from PCLinuxOS repo:
ptyhon-2.6
libstdc++6
and then rerun getvirtualbox script.  Wink

AS

He only did that after the get-virtualbox script failed.  And, in Hawk's defense, many PCLOS packages do work on Mandriva. 
Logged

I like sleep.
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4109

Have a nice ... night!


« Reply #4 on: January 24, 2012, 09:31:41 AM »


It seems you have downloaded the package for Mandriva-2011 ... Why you expect it will work on PCLinuxOS ?

Install the available packages from PCLinuxOS repo:
ptyhon-2.6
libstdc++6
and then rerun getvirtualbox script.  Wink

AS


He only did that after the get-virtualbox script failed.  And, in Hawk's defense, many PCLOS packages do work on Mandriva. 


Looking at the reported failure:
Quote
If I open a cli and run the getvirtualbox script I get ...
           ./VirtualBox-4.1.8-75467-Linux_x86.run: line 1: syntax error near unexpected token `<'
           ./VirtualBox-4.1.8-75467-Linux_x86.run: line 1: `<HTML></HTML>'

it appears this is not the correct VirtualBox-4.1.8-75467-Linux_x86.run, because that file start with the follwing lines ...
Quote
#!/bin/sh
# This script was generated using Makeself 2.1.5

CRCsum="1781401554"
MD5="bb81460d86d104509fb3add401c6d3b0"
TMPROOT=${TMPDIR:=/tmp}

label="VirtualBox for Linux installation"
....

Based on the error I guess the getvirtualbox script downloaded an HTML page ...  Roll Eyes Roll Eyes Roll Eyes
This could be related to some recent changes on VirtualBox website, see news 20 Jan 2012:
https://www.virtualbox.org/

Whenever getvirtualbox is the cause of the error, the right version to manually download is the "All Distribution".
https://www.virtualbox.org/wiki/Linux_Downloads
http://download.virtualbox.org/virtualbox/4.1.8/VirtualBox-4.1.8-75467-Linux_x86.run

I see no point in searching trouble by using other's distro versions.

AS
Logged
Hawkeye
Full Member
***
Offline Offline

Posts: 159


« Reply #5 on: January 26, 2012, 05:31:32 AM »

Thanks everyone for your comments and pointers

Thanks as but I had mentioned that both
ptyhon-2.6
libstdc++6
were installed.

Thanks GermanTux for your support  Wink
Yes I have installed the mdv package prior on my old 2009 install without problems.
In fact I still had that version VirtualBox-4.0-4.0.4_70112_mdv2010.0-1.i586.rpm archived but decided to dload the latest.
So have now dloaded VirtualBox-4.1.8-75467-Linux_x86.run and it has installed without a problem.

About to reboot to 'fix' everything into place securely so thanks for all input - this forum rocks as always.
Marking as solved.

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM