LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-18-2004, 03:29 AM   #1
mdpniesta
LQ Newbie
 
Registered: Nov 2004
Distribution: gentoo
Posts: 16

Rep: Reputation: 0
*.tar.bz2.tar


i am trying to download stage3 of gentoo for pentium 4. i tried installing gentoo using stage 3 but the stage3 file was corrupt. i downloaded it off the net but it seems to be zipped. i want i stage3 file that isnt zipped. to be exact the file that i downloaded is
stage3-pentium4-2004.3.tar.bz2.tar
i need this one:
stage3-pentium4-2004.3.tar.bz2
because ill try to burn the cd again with the latter file.
any help would be good.
 
Old 11-18-2004, 03:32 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
.tar.bz2.tar would seem to me to be something that's first packaged with tar (into a single .tar -file), then compressed with bzip2 to a .tar.bz2 file and then packaged again to a .tar.bz2.tar -file, which seems odd, since tarring it twice is no use, as far as I know :P

anyway, if it's like that, simply

Code:
tar -xf stage3-pentium4-2004.3.tar.bz2.tar
and you should get the .tar.bz2 -version.
 
Old 11-18-2004, 03:38 AM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Putting a .tar.bz2 file inside a .tar file willl only ever make the file larger. So it's unlikely to be the right filename.

Did you save the file with Microsoft Internet Explorer? It usually adds a .tar extension to .tar.bz2 files because it looks at their “archive/tar” MIME type and thinks they are tarballs, and then “corrects” the extension. Check the filename on the URL, and if it's a .tar.bz2, then just rename the file.

Under *NIX, There's a utility called “file” that will tell you what the actual type of the file is, regardless of it's contents:
Code:
file stage3-pentium4-2004.3.tar.bz2.tar
Aside: A .tar file isn't “zipped” per se; ZIP is an archive format that compresses each file, then adds it to a single archive file (with an uncompressed manifest). A tarball (.tar.bz2) file is a format that adds each file to an uncompressed archive, then compresses the entire file (which is much more efficient, as the manifest is compressed, and the compression routine can eliminate duplication between different files).

If it really is inside a second tarball, then you'll need to untar the file with
Code:
tar -e stage3-pentium4-2004.3.tar.bz2.tar
to recover the original file.
 
  


Reply



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 14 10-25-2016 02:48 AM
what 's different between *.tar.gz and *.tar.bz2 vanhelsing Linux - Software 7 06-08-2004 08:42 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
GUI support tar.gz/tar/gz/bz2 and etc demmylls Linux - General 3 10-09-2003 07:43 PM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration