LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-02-2004, 05:10 PM   #1
Blibblob
LQ Newbie
 
Registered: Jan 2004
Distribution: SuSE
Posts: 6

Rep: Reputation: 0
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?
 
Old 01-02-2004, 05:15 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
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.
 
Old 01-02-2004, 05:16 PM   #3
Blibblob
LQ Newbie
 
Registered: Jan 2004
Distribution: SuSE
Posts: 6

Original Poster
Rep: Reputation: 0
It just says it's "data".
 
Old 01-02-2004, 09:49 PM   #4
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
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.
 
Old 01-03-2004, 03:19 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
so it clearly can't identify it as any known file type, so i'd shoot for a download error.
 
Old 01-03-2004, 04:38 AM   #6
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 10 02-23-2008 05:40 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
How to uninstall tar / bzip/bzip2 files........ emailssent Linux - Software 2 10-11-2004 01:11 AM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM
tar bzip2 and the -y option mark33andathird Linux - General 1 04-30-2002 12:22 PM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration