Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working with omnetpp and I want to run it in a Debian system (in my university) but when I type

tar xvfz omnetpp-4.2.2-src.tgz

I keep getting this error:

gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error is not recoverable: exiting now

When I do the same on my computer (ubuntu 12.04) there's absolutely no problem at all. I can't install new packages on the Debian system as I don't have root access.

Is there any possible solution for me here? Maybe a stand-alone program that might do the job? Thanks!

P.s. USB drives are not an option as they're not allowd access

share|improve this question
up vote 1 down vote accepted

First you should make sure your download is not corrupt. As it works on your home computer, consider the file as valid there. Do a md5sum omnetpp-4.2.2-src.tgz on both computers and check if they are the same. If not, your university download is corrupt. Simply download the file again there.

If the archive is the same, check whether gzip and tar have the same version on your box and on the university box:

  • gzip --version
  • tar --version

You then can consider to download gzip or tar on the university computer and compile the archives from source in order to use the binaries to extract the omnetpp archive.

Or, as only gzip seems to complain, you can uncompress the archive gzip -d on your home computer and email the tar archive to your university email account.

share|improve this answer
It now works for no obvious reason, but thanks – yotamoo Aug 12 '12 at 15:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .