VirtualBox

Changes between Initial Version and Version 1 of Ticket #1767


Ignore:
Timestamp:
Jun 30, 2008 12:04:02 PM (16 years ago)
Author:
Frank Mehnert
Comment:

Thank you for the report. Fixed in SVN.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1767

    • Property Summary Linux installer fails if there is a tape driveLinux installer fails if there is a tape drive => Fixed in 1.6.4
  • Ticket #1767 – Description

    initial v1  
    22
    33Linux installer (install.sh script) assumes that there is no tape drive on the host system.  When there is one, root account typically has $TAPE defined:
     4{{{
    45bash-3.1# echo $TAPE
    56/dev/tape
    6 
     7}}}
    78This is where tar is looking by default.  For some reason, installer does not use `-f' (which it should, to avoid ambiquity), when trying to untar itself, and the result is the following error:
    8 
     9{{{
    910bash-3.1# sh VirtualBox-1.6.2-Linux_x86.run
    1011Verifying archive integrity... All good.
     
    1617tar: Error is not recoverable: exiting now
    1718Error installing VirtualBox.  Installation aborted
    18 
     19}}}
    1920Easy (and ugly) fix would be to add one line at the beginning of the script:
    20 
     21{{{
    2122[ -z $TAPE ] || unset TAPE
     23}}}
    2224
    2325Proper fix would be the one below:
    2426
     27{{{
    2528bash-3.1# diff install.sh install.sh.fixed
    2629261c261
     
    4043---
    4144>         log 'Error running "bzip2 -d -c VirtualBox.tar.bz2 | tar -xf - -C '"$INSTALLATION_DIR"'".'
     45}}}

© 2023 Oracle
ContactPrivacy policyTerms of Use