PR install faiils mysteriously

Forum For Privateer Remake
Post Reply
Miramor
ISO Party Member
ISO Party Member
Posts: 410
Joined: Tue Jun 26, 2007 7:15 pm

PR install faiils mysteriously

Post 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.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post 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.
Miramor
ISO Party Member
ISO Party Member
Posts: 410
Joined: Tue Jun 26, 2007 7:15 pm

Post 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.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post 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.
Miramor
ISO Party Member
ISO Party Member
Posts: 410
Joined: Tue Jun 26, 2007 7:15 pm

Post by Miramor »

Thanks, will try.
Miramor
ISO Party Member
ISO Party Member
Posts: 410
Joined: Tue Jun 26, 2007 7:15 pm

Post by Miramor »

Okay, --target worked. Thanks. :D
Post Reply