LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Tar says it's not a bzip2 nor a tar file (https://www.linuxquestions.org/questions/linux-newbie-8/tar-says-its-not-a-bzip2-nor-a-tar-file-130951/)

Blibblob 01-02-2004 05:10 PM

Tar says it's not a bzip2 nor a tar file
 
I am attempting to create a LFS system to learn Linux. I downloaded the packages it asked for, burnt them on a cd and moved them over to the computer I am putting it on, which currently is running SuSE 8.2. I attempt to unzip the .tar.bz2 file with "tar -xjf autoconf-2.57.tar.bz2" and it returns with:
"bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors"

then I try without the bizip2 tag and it says:
"tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors"

The same thing occurs with my .tar.gz files, except I use the gzip tag.

I know that they are zipped files, as they extract in windows. Any idea what the problem is?

acid_kewpie 01-02-2004 05:15 PM

well just run "file autoconf-2.57.tar.bz2" to see what the file really is... it's probably either half a file, or an incorrectly named gzip file.

Blibblob 01-02-2004 05:16 PM

It just says it's "data".

scott_R 01-02-2004 09:49 PM

tar -xjvf <filename> is what I normally use, because it gives you a little more information during errors. There might be the possiblity that they were downloaded with problems.

acid_kewpie 01-03-2004 03:19 AM

so it clearly can't identify it as any known file type, so i'd shoot for a download error.

scott_R 01-03-2004 04:38 AM

This is probably wrong, but if the permissions are set up as "root-only", you might have to chmod it to something usable.


All times are GMT -5. The time now is 06:35 PM.