Operating System - HP-UX
1819684 Members
3530 Online
109605 Solutions
New Discussion юеВ

gunzip: stdin: unexpected end of file and Tar: error! blocksize changed

 
Asif_8
Regular Advisor

gunzip: stdin: unexpected end of file and Tar: error! blocksize changed

Ihave HP-UX
I try to gunzip Data protecto 5.5 software
B6960-15039_DP55_HPUX_PA_CM_CD.tar.gz
I used following command
gunzip < B696015039_DP55_HPUX_PA_CM_CD.tar.gz | tar xvf -
I got erorr
gunzip: stdin: unexpected end of file
Tar: error! blocksize changed
5 REPLIES 5
Henk Geurts
Esteemed Contributor

Re: gunzip: stdin: unexpected end of file and Tar: error! blocksize changed

hi Asif
why the < sign ?

just use
gunzip B696015039_DP55_HPUX_PA_CM_CD.tar.gz tar xvf B696015039_DP55_HPUX_PA_CM_CD.tar

and it will work just fine.

regards
Patrick Wallek
Honored Contributor

Re: gunzip: stdin: unexpected end of file and Tar: error! blocksize changed

Instead of gunzip, try gzcat.

# gzcat B696015039_DP55_HPUX_PA_CM_CD.tar.gz | tar xvf -

If you still get the error, you will need to try downloading the software again. My guess is that your download did not complete successfully and you have an incomplete file.
Henk Geurts
Esteemed Contributor

Re: gunzip: stdin: unexpected end of file and Tar: error! blocksize changed

sorry , missed the enter button

gunzip B696015039_DP55_HPUX_PA_CM_CD.tar.gz

tar xvf B696015039_DP55_HPUX_PA_CM_CD.tar

;-)
Asif_8
Regular Advisor

Re: gunzip: stdin: unexpected end of file and Tar: error! blocksize changed

I tried all above method . In end I got erorr
unexpected end of file
Can You tell Me is this correct file for data protector 5.5 for HP-UX
Patrick Wallek
Honored Contributor

Re: gunzip: stdin: unexpected end of file and Tar: error! blocksize changed

It probably is, but as I said before, I suspect your download did NOT complete correctly.

Try downloading the file again and see if you have better luck.