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 11-26-2012, 10:54 PM   #1
chinabenjamin66
Member
 
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Rep: Reputation: Disabled
tar xvzf xxxx.tgz encounters an error.


Hello friends,

I am trying to extract a POSIX tar archive (GNU), unfortunately, I got the error below:
Code:
root@gpl-vm:/GPL/PX-8778# file PX8778_12_116534.tgz 
PX8778_12_116534.tgz: POSIX tar archive (GNU)
root@gpl-vm:/GPL/PX-8778# file PX8778_12_116534.tgz 
PX8778_12_116534.tgz: POSIX tar archive (GNU)
root@gpl-vm:/GPL/PX-8778# tar xvzf PX8778_12_116534.tgz 

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
root@gpl-vm:/GPL/PX-8778#
what is the problem? is this archive damaged? Can any one give some suggestion? Thanks in advance.
 
Old 11-26-2012, 11:23 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
looks like it's not gzip'ed. try it without the 'z' option.
 
1 members found this post helpful.
Old 11-26-2012, 11:46 PM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Also try the "file" command

EXAMPLE:
file abc.tgz

EXAMPLE OUTPUT:
abc.tgz: gzip compressed data, deflated, last modified: Mon Nov 26 20:45:24 2012, os: Unix
 
Old 11-27-2012, 12:42 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by paulsm4 View Post
Also try the "file" command

EXAMPLE:
file abc.tgz

EXAMPLE OUTPUT:
abc.tgz: gzip compressed data, deflated, last modified: Mon Nov 26 20:45:24 2012, os: Unix
chinabenjamin66 did use the file command (see first post) But his/her results are different; it just indicates that it's a tar.
 
Old 11-27-2012, 01:08 AM   #5
chinabenjamin66
Member
 
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Original Poster
Rep: Reputation: Disabled
Hi all, it is not gziped, tar xvf works. Thank you all.
 
  


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
tar error while installing TinyOS8051wg-0.1pre4.tgz pratikvimal Linux - Newbie 2 06-08-2009 07:46 AM
How to INSTALL softwares with *.tar.gz or *.tar.tgz extension On SLACKWARE 10.2 DdOs Linux - Software 4 03-20-2006 02:54 AM
getting error during "tar -xvzf filename.tar.gz" b0nd Linux - Newbie 11 04-23-2005 09:50 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM
tar, cannot change mode to XXXX bit7 Linux - Software 3 02-12-2003 02:51 PM


All times are GMT -5. The time now is 05:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration