Operating System - HP-UX
1753506 Members
5068 Online
108794 Solutions
New Discussion юеВ

Re: install patches from tape drive

 
Fauziah Mahdan
Super Advisor

install patches from tape drive

Hi all when I run command swinstall -s /dev/rmt/0m
Another page showing ask for target source appear. Why and how to overcome this issue.
Thanks
Fauziah Mahdan
8 REPLIES 8
Bill Hassell
Honored Contributor

Re: install patches from tape drive

Well, assuming that the patches were correctly stored onto the tape, you have to specify which patches to load, or select all of them with:

swinstall -s /dev/rmt/0m PHCO_1234 PHSS_4567
or
swinstall -s /dev/rmt/0m \*

The \* tells swinstall to install all of the filesets on the media. Note that the tape must be in tar format suitabloe for swinstall. If someone just used tar to copy some patch files onto the tape, it won't work. The patch files must be placed into depot format on disk and then use swinstall on the depot directory.


Bill Hassell, sysadmin
Fauziah Mahdan
Super Advisor

Re: install patches from tape drive

the problem is I need it to select automatically which patch to be full install and which one is partailly by running patch anaylsis check up. The rest of the server seems to be ok
Fauziah Mahdan
Super Advisor

Re: install patches from tape drive

ok bill sorry the msg appear when i run the swinstall -s /dev/rmt/0m is
select target host:server name
Bill Hassell
Honored Contributor

Re: install patches from tape drive

It's still not clear what you have on the tape. Post the results of this command:

tar tvf /dev/rmt/0m | head

If there are just a couple of patch files such as PHCO_12345, then the tape cannot be used directly with swinstall. You must copy the patches to the /var/tmp directory, then unpack the files into the .depot and .text files. swinstall can then install from the .depot file.

As far as selecting a patch, you simply give the patch name, but there is no way to partially install a patch. swinstall takes care of verifying dependencies and for a bundle of patches, swinstall will pick the ones which match your system.


Bill Hassell, sysadmin
Fauziah Mahdan
Super Advisor

Re: install patches from tape drive

No what I meant is, for working server, when I run the command it read goes to patch installation command without asking target host. From there I just click patch anaylsis and tick automatically select patch then it will check all patches require for the server and it dependencies.If the target host appear it will ask me to choose target path and to mark which patches from the tape drive.
BTW contens of the tape is all patches

Torsten.
Acclaimed Contributor

Re: install patches from tape drive

Asking for the target host indicates often a problem with name resolution ;-)

Try "hostname" and resolve the result

nslookup

Does it work?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bill Hassell
Honored Contributor

Re: install patches from tape drive

What happens when you type:

swinstall -s /dev/rmt/0m \*


Bill Hassell, sysadmin
Fauziah Mahdan
Super Advisor

Re: install patches from tape drive

Not yet try but the hp eng gave me another set of tape and it works.

Thanks All
Fauziah