02-17-2011 03:40 AM
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:
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.
Solved! Go to Solution.
02-17-2011 04:08 AM
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.
02-17-2011 05:24 AM
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.
02-17-2011 05:49 AM
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
02-17-2011 07:22 AM
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...
02-18-2011 05:54 AM
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.
Unix operates with beer.