Changes between Initial Version and Version 1 of Ticket #1767
- Timestamp:
- Jun 30, 2008 12:04:02 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1767
- Property Summary Linux installer fails if there is a tape drive → Linux installer fails if there is a tape drive => Fixed in 1.6.4
-
Ticket #1767 – Description
initial v1 2 2 3 3 Linux 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 {{{ 4 5 bash-3.1# echo $TAPE 5 6 /dev/tape 6 7 }}} 7 8 This 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 {{{ 9 10 bash-3.1# sh VirtualBox-1.6.2-Linux_x86.run 10 11 Verifying archive integrity... All good. … … 16 17 tar: Error is not recoverable: exiting now 17 18 Error installing VirtualBox. Installation aborted 18 19 }}} 19 20 Easy (and ugly) fix would be to add one line at the beginning of the script: 20 21 {{{ 21 22 [ -z $TAPE ] || unset TAPE 23 }}} 22 24 23 25 Proper fix would be the one below: 24 26 27 {{{ 25 28 bash-3.1# diff install.sh install.sh.fixed 26 29 261c261 … … 40 43 --- 41 44 > log 'Error running "bzip2 -d -c VirtualBox.tar.bz2 | tar -xf - -C '"$INSTALLATION_DIR"'".' 45 }}}