You are not logged in.
I'm trying to install some software for a course that I TA. It comes in a deb installer with archive following the script. The script doesn't work in arch and I just want to extract the archive and install it myself. However, it appears to be corrupt and I'm unsure how to go about recovering it, if that is possible.
#!/bin/sh
SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' "$0"`
# Take the TGZ portion of this file and pipe it to gzip and then to tar
tail -n +$SKIP "$0" | tar -xz
exit 0
__ARCHIVE_FOLLOWS__And the readout:
tar: Skipping to next header
gzip: stdin: invalid compressed data--format violated
tar: Child died with signal 13
tar: Error is not recoverable: exiting nowOffline
I was able to get around the problem. Turns out my own editing of the script was causing the archive to corrupt. The script was failing because I had no other .deb packages installed on my system. I installed an empty .deb package to pass this "test" and was able to get it to work. Installed now and it looks like the software runs without issue.
Offline