System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to extract hpux__11.23_03090250.tgz

 
masood bt
Regular Advisor

unable to extract hpux__11.23_03090250.tgz

Downloaded a patch from internet transferred in into my server. Unable to extract
hpux__11.23_03090250.tgz#

gunzip < file.tgz | tar xvf -

gunzip -q < file.tar.gz | tar xvf -
gunzip: stdin: not in gzip format
Tar: blocksize = 0; broken pipe?

Someone please guide me
Behind every Great fortune, there is a crime
13 REPLIES
Robert-Jan Goossens_1
Honored Contributor

Re: unable to extract hpux__11.23_03090250.tgz

Hi,

# gzip -d hpux__11.23_03090250.tgz | tar xvf -

Regards,
Robert-Jan
Steven Schweda
Honored Contributor

Re: unable to extract hpux__11.23_03090250.tgz

> gunzip: stdin: not in gzip format

It seems that gzip/gunzip does not like your
"hpux__11.23_03090250.tgz" file.

ls -l hpux__11.23_03090250.tgz

file hpux__11.23_03090250.tgz
Steven Schweda
Honored Contributor

Re: unable to extract hpux__11.23_03090250.tgz

> Downloaded a patch from internet
> transferred in into my server.

That's two chances to cause problems.
Downloaded how? Transferred how?

Some Web browsers may try to "help" you by
expanding a compressed file for you (without
asking). You might try something like:

tar tfv hpux__11.23_03090250.tgz

(It can't fail any worse.)
Steven E. Protter
Exalted Contributor

Re: unable to extract hpux__11.23_03090250.tgz

Shalom,

When these downloads get big, they sometimes do not finish.

I would try the steps one at a time and if that fails, then try the download again.

I've always found ftp script transfer is more reliable.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
masood bt
Regular Advisor

Re: unable to extract hpux__11.23_03090250.tgz

Here are the results when I tried with your suggestions. None seems to be working though..

hhln-mgt-ign101 /var/spool/sw/QBK2008 # gzip -d hpux__11.23_03090250.tgz | tar xvf -

gzip: hpux__11.23_03090250.tgz: not in gzip format
Tar: blocksize = 0; broken pipe?
hhln-mgt-ign101 /var/spool/sw/QBK2008 #
----

hhln-mgt-ign101 /var/spool/sw/QBK2008 # ls -l hpux__11.23_03090250.tgz
-rw-r----- 1 root sys 1561081101 Mar 9 19:34 hpux__11.23_03090250.tgz
hhln-mgt-ign101 /var/spool/sw/QBK2008 # file hpux__11.23_03090250.tgz
hpux__11.23_03090250.tgz: awk program text
hhln-mgt-ign101 /var/spool/sw/QBK2008 #
-----
hhln-mgt-ign101 /var/spool/sw/QBK2008 # tar tvf hpux__11.23_03090250.tgz
directory checksum error
hhln-mgt-ign101 /var/spool/sw/QBK2008 # tar -tvf hpux__11.23_03090250.tgz
directory checksum error
hhln-mgt-ign101 /var/spool/sw/QBK2008 #


Transferred the tgz file into the server thru winscp
Behind every Great fortune, there is a crime
Tingli
Esteemed Contributor

Re: unable to extract hpux__11.23_03090250.tgz

You can download again, or in a different format, or a different file transfer software.

Or another way, download the download script, then download it to your hp server directly.
Steven Schweda
Honored Contributor

Re: unable to extract hpux__11.23_03090250.tgz

If gzip hates it, and "tar" hates it, then
I'd say that it's corrupt.

Personally, I'd prefer to do the download
directly to the HP-UX system. Web browsers
work there, wget works there, and there's a
simple, safe FTP client program, too.
Bringing in a Windows system (??? You didn't
say, ...) and some unknown Web browser just
add more ways to make things fail.
James R. Ferguson
Acclaimed Contributor

Re: unable to extract hpux__11.23_03090250.tgz

Hi:

> Transferred the tgz file into the server thru winscp

That's a great tool, but make sure that you transfered it in binary mode.

Regards!

...JRF...
masood bt
Regular Advisor

Re: unable to extract hpux__11.23_03090250.tgz

Shall try to download it again
Behind every Great fortune, there is a crime
Suraj K Sankari
Honored Contributor

Re: unable to extract hpux__11.23_03090250.tgz

Hi,

Don't download the .tgz format try to download only .tar fromat, I have also faceing the same problem so many times.

suraj
B. Hulst
Trusted Contributor

Re: unable to extract hpux__11.23_03090250.tgz

or use the GNU tar command...
(after you installed the GNU tar you get this extra 'z' option to decompress files)

tar zxvf file.tgz

:-)
Steven Schweda
Honored Contributor

Re: unable to extract hpux__11.23_03090250.tgz

> or use the GNU tar command...

If plain gzip and plain "tar" both hate the
file, do you really expect "[GNU]tar z" to do
better? If so, why?

> Don't download the .tgz format [...]

If you use programs and procedures which do
not corrupt the data, there should be no
problem downloading ".tgz", ".tar.gz",
".tar.bz2", or anything else. I do it all
the time. (I don't use MSIE on Windows,
which may be a big advantage.)
masood bt
Regular Advisor

Re: unable to extract hpux__11.23_03090250.tgz

Downloaded again .zip file
Behind every Great fortune, there is a crime