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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-02-2004, 05:10 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2004
Distribution: SuSE
Posts: 6
Rep:
|
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?
|
|
|
|
01-02-2004, 05:15 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,827
|
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.
|
|
|
|
01-02-2004, 05:16 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2004
Distribution: SuSE
Posts: 6
Original Poster
Rep:
|
It just says it's "data".
|
|
|
|
01-02-2004, 09:49 PM
|
#4
|
|
Member
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746
Rep:
|
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.
|
|
|
|
01-03-2004, 03:19 AM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,827
|
so it clearly can't identify it as any known file type, so i'd shoot for a download error.
|
|
|
|
01-03-2004, 04:38 AM
|
#6
|
|
Member
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746
Rep:
|
This is probably wrong, but if the permissions are set up as "root-only", you might have to chmod it to something usable.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:26 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|