Patches
Showing results for 
Search instead for 
Do you mean 

Unable to unshar the downloaded PHCO_41483

SOLVED
Go to Solution
Occasional Visitor

Unable to unshar the downloaded PHCO_41483

Hi,

I have downloaded PHCO_41483 from the patch database and saved it as PHCO_41483 to my pc. Then FTP'ed in binary mode to the HPUX 11.31 server in the /tmp directory. When I try to unshar the patch to create a depot, it gives following error:

sh PHCO_40289
PHCO_40289: Syntax error at line 1 : `<' is not expected.

I have tried to download it using download accelerator as well as using window download (that only provides option for HTML type for the downloaded file) but none works. I believe it has something to do with downloading the patch file but not sure what I am doing wrong.

Thanks in advance for your help.

Mubariz
8 REPLIES
Honored Contributor Honored Contributor

Re: Unable to unshar the downloaded PHCO_41483

Hi,

Try download it again, but uses "gzip package" from "Select the desired format" and press [download>>]

Then ftp (binary) to your server, ungzip and unshare it.

Rgds.
Occasional Visitor

Re: Unable to unshar the downloaded PHCO_41483

Hi Jose,

Thank you for your response.

I am unable to find the "Select the desired format" to choose "gzip package" from the patch download page for PHCO_41483. Am I looking at the wrong place? Trying to download it from my pc using IE7.

Thanks for your help in advance.

Mubariz
Honored Contributor Honored Contributor

Re: Unable to unshar the downloaded PHCO_41483

On the screen after you select the patch and say to add it to your download.
click on download
Look at the screen and under the first brown heading [download itens in one operation]
Select the desired format:

There are three options...zip, gzip, tar

Pick one....

/rcw
Honored Contributor Honored Contributor

Re: Unable to unshar the downloaded PHCO_41483

And Welcome to the Forums...

Regards,
Rita
Honored Contributor Honored Contributor

Re: Unable to unshar the downloaded PHCO_41483

Hi again,

Go to:
http://www13.itrc.hp.com/service/patch/crumbRequest.do?crumb=main&BC=
find a specifi patch
[PHCO_40289] and press [>>]
At search result screen, select [x] PHCO_40289
Please notice that PHCO_40289 has been superseded by two newer versions: PHCO_40927 and PHCO_41483 (lastest). Please considers to select the lastest version.
After selection [x] press [add to selected patch list >>]
At the "selected patch list" press [download selected >>]
At the "download patches" screen, choose "gzip package" as "Select the desired format", and press [download >>]

The rest is known history...

Rgds.
Honored Contributor Honored Contributor

Re: Unable to unshar the downloaded PHCO_41483

Hi Mubariz,

Glad to assist you, please do not forget to assign points to those who have helped you.

Best regards.
Honored Contributor Honored Contributor

Re: Unable to unshar the downloaded PHCO_41483

Hi,

The cause of the error was that you ftp'ed the archive in binary mode. A shar archive is a simple ASCII file which needs to be ftp'ed in text mode. Anyway, I'm glad that you solved your problem by going the gzip way.

Regards,
Viktor
****
Unix operates with beer.
Highlighted
Occasional Visitor

Re: Unable to unshar the downloaded PHCO_41483

Hi Victor,

Thank you for the input. I appreciate your feedback on the root cause.

Regards,

Mubariz