Page 1 of 1

PR install faiils mysteriously

Posted: Mon Aug 06, 2007 8:39 pm
by Miramor
When I run the PR install script, something screws up...

Code: Select all

Verifying archive integrity... All good.
Uncompressing Vegastrike Space Simulator 0.4.3 - Base.................
[.....]
........Extraction failed.
Signal caught, cleaning up
Unfortunately, there's nothing to indicate exactly what is screwing up. What gives?

BTW, just a suggestion... I think it would be a good idea to offer a precompiled Linux version in the form of a standard zip or tar.bz2 package, as well as (or instead of) the install script. Archives aren't as fancy but they're less prone to mysterious failures.

Posted: Tue Aug 07, 2007 2:58 am
by ace123
Could be disk space or a bad download.

If you edit the script you will notice that it contains the tar.gz file... you should be able to extract that if you use dd or something of the sort.

Posted: Tue Aug 07, 2007 3:34 am
by Miramor
Definitely got enough disk space and RAM/swap, and have tried downloading again. Could be that the mirror I'm using (McLean, VA) is bad, but I'd expect a corrupted version to either not run or fail the integrity check.

Tried editing the file to convert it into archive, but the resulting archive ended at the wrong place and wouldn't decompress. No idea how to use dd for this.

I'll try again with another mirror.

Posted: Tue Aug 07, 2007 3:45 am
by ace123
This script is very portable, and it has backup extraction options inside it.

sh vegastrike-0.4.3-base.bz2.run --help
...
2) Running vegastrike-0.4.3-base.bz2.run :
vegastrike-0.4.3-base.bz2.run [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
You can try "--target ~/mydir"

To extraction manually , do "sh installer.sh --tar -xvf" inside a new folder.
That will directly run tar on the embedded archive with extract, verbose and file options.

Posted: Tue Aug 07, 2007 4:21 am
by Miramor
Thanks, will try.

Posted: Tue Aug 07, 2007 2:45 pm
by Miramor
Okay, --target worked. Thanks. :D