PR install faiils mysteriously

Forum For Privateer Remake

PR install faiils mysteriously

Postby Miramor » Mon Aug 06, 2007 1:39 pm

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

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

Postby ace123 » Mon Aug 06, 2007 7:58 pm

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

Postby Miramor » Mon Aug 06, 2007 8:34 pm

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

Postby ace123 » Mon Aug 06, 2007 8:45 pm

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

Postby Miramor » Mon Aug 06, 2007 9:21 pm

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

Postby Miramor » Tue Aug 07, 2007 7:45 am

Okay, --target worked. Thanks. :D
Miramor
ISO Party Member
ISO Party Member
 
Posts: 410
Topics: 61
Joined: Tue Jun 26, 2007 12:15 pm



Return to Privateer Remake

Who is online

Users browsing this forum: No registered users and 2 guests

cron