Operating System - HP-UX
1832671 Members
2774 Online
110043 Solutions
New Discussion

error in a patch download from itrc site

 
SOLVED
Go to solution
SSP_1
Regular Advisor

error in a patch download from itrc site

Hi,

I am trying to download the patch required for SAM . But it is getting saved as ".html" file and I am not able to retrieve it. I am downloading it from the url
ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/10.X/.

PL suggest.

Thanks
Obstacles exist to challenge you to keep going. Not to quit.
8 REPLIES 8
Steven Sim Kok Leong
Honored Contributor
Solution

Re: error in a patch download from itrc site

Hi,

Just rename downloaded file with the .html extension to without the .html extension. Subsequently, execute to unshar the file to extract a readme file with extension .text and the depot file with extension .depot for installation:

# sh PHCO-XXXXX
x - PHCO-XXXXX.text
x - PHCO-XXXXX.depot

Read the text file for any dependency patches required and other requisites such as automatic reboot etc.

Then install via the command swinstall ie. execute:

# swinstall -s ./PHCO-XXXXX.depot

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Frederic Sevestre
Honored Contributor

Re: error in a patch download from itrc site

Hi,

Right click on the link an use "Save Link As" (Netscape) or "Save Target As" (IE) to save the patch.
Then copy this patch on your server on /tmp.
Then :
# cd /tmp
# sh PHYY_XXXXX (will extract a depot)
# swinstall -s /tmp/PHYY_XXXXX

Fr??d??ric

Crime doesn't pay...does that mean that my job is a crime ?
SSP_1
Regular Advisor

Re: error in a patch download from itrc site

Hi,

Thanks.

I am through with ur suggestions but could pl let me know what does this "shar" files are. I am little bit curious about "shars".
Obstacles exist to challenge you to keep going. Not to quit.
Frederic Sevestre
Honored Contributor

Re: error in a patch download from itrc site

Hi,

shar make a shell archive pakage :
The shar command bundles the named files and directories into a single distribution package suitable for mailing or moving. The files can
contain any data, including executables. The resulting package, written to standard output, is a shell script file that can be edited.

More informations using man shar.

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Steven Sim Kok Leong
Honored Contributor

Re: error in a patch download from itrc site

Hi,

shar is a command that allows you to create an installation depot.

Direct from the man page, the shar command bundles the named files and directories into a single distribution package suitable for mailing or moving. The files can contain any data, including executables. The resulting package, written to standard output, is a shell script file that can be edited (to add messages at the beginning, etc.).

To unpack package, use the sh(1) command with the package name as an argument as follows:

sh package

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Steven Sim Kok Leong
Honored Contributor

Re: error in a patch download from itrc site

Hi,

I made a typo:

shar is not a command that allows you to create an installation depot.

It is a command that allows you to shell archive files together (somewhat alike tar etc except that files are not compressed) and you can use simply the shell (which comes with the system) to extract the files.

Hope this helps. Regaqrds.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.branibench.com
K.Srinivasan
New Member

Re: error in a patch download from itrc site

HP-UX (11.11) - SEp'05 Support plus release

This Bundles contain

HWENABLE11i - B.11.11.0509.430
GOLDAPPS11i - B.11.11.0509.429
GOLDBASE11i - B.11.11.0509.429

I have installed HWENABLE11i - B.11.11.0509.430.

I am not able to download this two.
GOLDAPPS11i - B.11.11.0509.429
GOLDBASE11i - B.11.11.0509.429

Actual size is 492250kb & 492250 kb.

But download size is max 365000kb only.It is not fully download.

Shameer.V.A
Respected Contributor

Re: error in a patch download from itrc site

Hi,
If you are downloading a shar file, please do dos2ux on shar file after copying to hp-ux box

eg: # dos2ux sharfile > sharfile1

The problem is caused when a shar file is downloaded to a pc. The pc places pc style end of lines in the file. The ^M is a visual representation of the line feed not needed on unix.

Regards,

Shameer

.... See invisible, feel intangible and achieve impossible as everything is possible ....