Operating System - HP-UX
1834124 Members
2784 Online
110064 Solutions
New Discussion

Re: Patch downloading and installation

 
Chamitha Wijesekera
Frequent Advisor

Patch downloading and installation

Hi, I'm new to HP-UX so can someone tell me the steps for downloading and installing a patch. I want to download the PHSS_24638 patch but if i click the hppt download button the patch opens as a webpage! If i select the "save link as" option it saves the patch as a perl script! What is the write method of downloading and installing this patch?
19 REPLIES 19
Mark Greene_1
Honored Contributor

Re: Patch downloading and installation

go here:

http://support2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_24627&context=hpux:800:11:00

click "add to download list"

on the next page click "download"

on the next page click on http or ftp and you should be all set.

HTH
mark
the future will be a lot like now, only later
Chamitha Wijesekera
Frequent Advisor

Re: Patch downloading and installation

the process of finding the patch and adding it to the download list is fine. its just that when i click http it opens the patch in a web page!! what do i do with that!
Sachin Patel
Honored Contributor

Re: Patch downloading and installation

If you are using IE then open up as web page. then click
file-save as and save as default name. ftp that from pc to unix box use binary mode while ftping.
vi that file and remove first few lines up to "----------"

#sh PHSS_*.htm and it will creates PHSS_*.depot and PHSS_*.text file

Use swinstall and select *.depot

If you have Netscape then you do not have to go through this trouble.

Sachin
Is photography a hobby or another way to spend $
Darrell Allen
Honored Contributor

Re: Patch downloading and installation

Hi,

Once you get to the download page, right click on http or ftp and select "save target as" (or whatever your browser's option is) and save the download as a text file. Then ftp the file to your HP server. I believe in this case you can use either ascii or binary transfer. Then, on the HP, run "sh filename". This will create the install depot (as well as the patch's text / info file). Use this depot file when you run swinstall.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Mark Vollmers
Esteemed Contributor

Re: Patch downloading and installation

well, I'm having some problems saving it myself (I was going to try out the steps first), but once you save it to a local drive (I use a temp folder, myself), you still have to unpack it. I THINK (still being stuck on the saving) that you rename the file, removing the extension (this might not be neccesary). you run the sh to unpack the file into a PATCH.txt and PATCH.depot, and then you swinstall the .depot file. I've never had luck getting single patches myself (it just hangs on the download for me), and just use the custom patch manager to grab everything whenever I need a patch, but that should get the job done.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Sachin Patel
Honored Contributor

Re: Patch downloading and installation

Hi Mark,

I have no trouble getting single patch at anytime either using IE/Netscape on Pc or netscape on unix.

How do you download single patch?

Sachin
Is photography a hobby or another way to spend $
Chamitha Wijesekera
Frequent Advisor

Re: Patch downloading and installation

if i save the file as a html using IE i get a heap of html tags in it!!! no way can i do that
Sachin Patel
Honored Contributor

Re: Patch downloading and installation

When you save file with extension .html on pc using ie. then transfer to unix and run command dos2ux
#dos2ux PH*_*.htm > PHSS_????

Now this new file will be without ^M at the end of line.

Sure you can do that. I does this many times a week.

Sachin
Is photography a hobby or another way to spend $
Sanjay_6
Honored Contributor

Re: Patch downloading and installation

Hi,

Try this to download the patch,

ftp ftp.itrc.hp.com
username : anonymous
password : your_email_add
bin
cd hp-ux_patches/s700_800/11.X
get PHSS_24638
get PHSS_24638.txt
bye

Hope this helps.

Regds
Mark Vollmers
Esteemed Contributor

Re: Patch downloading and installation

Sachin-

I've never been able to. not sure if it's a network or firewall issue or what. On my NT (ie), I can get down to seeing the file (I download, either by ftp or http; it takes a while, but comes up). then I do the save as, and the save window comes up, but it never seems to save (always stays at 0% done). it doesn't appear in the server either (even with a 0k size). after a while I just close it. I don't patch all that often, and just tend to use the cpm to update any patches that I feel like at that time.

I don't have my unix machines plugged into the outside world, so I have to transfer files thorugh windows.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Sachin Patel
Honored Contributor

Re: Patch downloading and installation

Mark yes may be firewall but you can also check your IE settings.

tools -> options -> General -> settings and disk space that uses for your temporary internet folders.
I have 250MB

Sachin
Is photography a hobby or another way to spend $
Mark Vollmers
Esteemed Contributor

Re: Patch downloading and installation

Sachin-

looks like I can download it after all, but it takes like 15 minutes for one patch. (plus time to run it though by size, I should be pulling it in like a third of that time. if I had to grab several, I think it would be faster to have hp bundle them together since I can pull those full-speed. oh, well.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
MANOJ SRIVASTAVA
Honored Contributor

Re: Patch downloading and installation

Chamitha

When you save the file in the PC just change the file type from html to test by pulling down the aroow key on the left side of the file type tab and change it to text. This should solve all your problems.



Manoj Srivastava
Darrell Allen
Honored Contributor

Re: Patch downloading and installation

Hi again,

You definitely need to save the file as a TEXT file.

Note I don't click on the http nor ftp link to open the page, I use the right button and select "save target as". I haven't had a problem with that. Then I transfer that file to HPUX, run sh filename, and then swinstall.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Chamitha Wijesekera
Frequent Advisor

Re: Patch downloading and installation

well i can use dos2ux to get rid of the ^M characters but html also replaces for example '&' with & and so forth. i dont think dos2ux will handle that?
Sachin Patel
Honored Contributor

Re: Patch downloading and installation

Hi Chamitha,

Can you install netscape? If you use netscape then you will not have any problem.

Sachin
Is photography a hobby or another way to spend $
Chamitha Wijesekera
Frequent Advisor

Re: Patch downloading and installation

i think i managed to extract it. thanks guys. but i do get an error when trying to install it... says the analysing of the file failed.
Sachin Patel
Honored Contributor

Re: Patch downloading and installation

When it fails you will have a logfile button. what is the messages on logfile.

Sachin
Is photography a hobby or another way to spend $
Chamitha Wijesekera
Frequent Advisor

Re: Patch downloading and installation

I have attached the log file here