Re: Unable to unshar the downloaded PHCO_41483 (400 Views)
Reply
Occasional Visitor
Mubariz Motiwala
Posts: 3
Registered: ‎02-17-2011
Message 1 of 9 (400 Views)
Accepted Solution

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
Honored Contributor
Jose Mosquera
Posts: 1,013
Registered: ‎06-27-2002
Message 2 of 9 (400 Views)

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
Mubariz Motiwala
Posts: 3
Registered: ‎02-17-2011
Message 3 of 9 (400 Views)

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
Rita C Workman
Posts: 3,790
Registered: ‎08-03-2000
Message 4 of 9 (400 Views)

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
Rita C Workman
Posts: 3,790
Registered: ‎08-03-2000
Message 5 of 9 (400 Views)

Re: Unable to unshar the downloaded PHCO_41483

And Welcome to the Forums...

Regards,
Rita
Honored Contributor
Jose Mosquera
Posts: 1,013
Registered: ‎06-27-2002
Message 6 of 9 (400 Views)

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
Jose Mosquera
Posts: 1,013
Registered: ‎06-27-2002
Message 7 of 9 (400 Views)

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
Viktor Balogh
Posts: 1,007
Registered: ‎03-15-2009
Message 8 of 9 (400 Views)

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.
Occasional Visitor
Mubariz Motiwala
Posts: 3
Registered: ‎02-17-2011
Message 9 of 9 (400 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.