Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-19-2002, 10:58 AM   #1
Registered: Dec 2001
Location: Birmingham, UK
Distribution: Red Hat 7.2
Posts: 96

Rep: Reputation: 15
Help with untaring files

Hello everyone,

I just installed redhat 7.2 on my system, and i am having a problem with untaring files.

for instance i try to untar a file:

tar -xvf file.tar.gz
and it comes up with this error:

tar:this does not look like a tar archive
tar:skipping to next header
tar:151garbarge bytes ignored at the end of archive
tar:error exit delayed from previous errors
plus, when i goto my home directoy and double click on a program, file.tar.gz i get :

nautilus has not installed a viewer capable of displaying "file.tar.gz"
[edit]plus i can't view whats inside rpm files, from my home directory, i'm guessing its the same problem which is causing the other problem.[/edit]

Does anyody know how to fix this or does anybody know a program to allow me to untar them etc.


Last edited by KevStA; 05-19-2002 at 11:04 AM.
Old 05-19-2002, 11:16 AM   #2
LQ Newbie
Registered: May 2002
Location: Canada
Distribution: Debian
Posts: 11

Rep: Reputation: 0
For files ending with gzip, try tar xzvf ...

For files ending with bz2, try tar xjvf ...
Old 05-19-2002, 12:46 PM   #3
LQ Newbie
Registered: May 2002
Posts: 25

Rep: Reputation: 15
file.tar.gz files are not only tar'ed, but "zipped" as well. You can do the above, with -xzvf, or, you can use gunzip...

>$ gunzip file.tar.gz
>$ tar -xvf file.tar
Old 05-19-2002, 12:53 PM   #4
Registered: May 2002
Location: Sweden
Distribution: Suse 8.0
Posts: 35

Rep: Reputation: 15
Try Using lnxzip.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem unzipping/untaring any linux kernel pianom69 Linux - Newbie 4 04-20-2004 12:53 AM
When untaring, where do they go? BaZiL Linux - General 2 09-22-2003 05:22 AM
untaring kernel nacha Slackware 9 07-16-2003 12:02 PM
Problem with Root and untaring/install permissions CragStar Linux From Scratch 1 12-13-2002 07:14 AM
Problem with Root and untaring/install permissions CragStar Linux From Scratch 2 11-24-2002 07:15 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:59 PM.

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