1752701 Members
6807 Online
108789 Solutions
New Discussion юеВ

Patch management

 
SOLVED
Go to solution
khilari
Regular Advisor

Patch management

Hi people, well i downloaded patch PHCO_34529 the sd-ux cumulative one. I downloaded it as http and the ftp'd into the unix box. Now, when i try doing an swinstall on it i get there is no depot on that location. How do i make a depot for this.
If i had the .tar download i could have made a depot but having an http download how do i install it.
Thanks.
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor

Re: Patch management

First make sure when you ftp'ed it that yourt specified a binary transfer. Next cd to whatever directory your ftp'ed the file, e.g. /tmp. Next "sh PHCO_34529". This will extract a documentation file PHCO_34529.txt and a .depot file, PHCO_34529.depot. You then run swinstall -s /tmp/PHCO_34529.depot.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Patch management

First make sure when you ftp'ed it that you specified a binary transfer. Next cd to whatever directory your ftp'ed the file, e.g. /tmp. Next "sh PHCO_34529". This will extract a documentation file PHCO_34529.txt and a .depot file, PHCO_34529.depot. You then run swinstall -s /tmp/PHCO_34529.depot.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Patch management

First make sure when you ftp'ed it that you specified a binary transfer. Next cd to whatever directory you ftp'ed the file, e.g. /tmp. Next "sh PHCO_34529". This will extract a documentation file PHCO_34529.txt and a .depot file, PHCO_34529.depot. You then run swinstall -s /tmp/PHCO_34529.depot.
If it ain't broke, I can fix that.
Jaime Bolanos Rojas.
Honored Contributor

Re: Patch management

Khilari,

Probably you missed the -s option on swinstall, if you do not set that option, swinstall will look the file in the default directory and It will not find it there.

-s source " Specifies the source depot (or tape) from which software is installed or copied."

Regards,

Jaime.
Work hard when the need comes out.
Steven E. Protter
Exalted Contributor

Re: Patch management

Shalom,

The most common cause has been triple identified by A. Clay.

The download may have terminated.

Quick single patch procedure.

1) Consider downloading using a browser on the system. This prevents ascii flubs. Many ftp clients default to ascii and patches come from HP's website in a tar(binary) format.

2)Be sure to do the ftp transfer as binary

3) make sure UNIX95 is not set.

4) make sure the swagentd daemon is running.

5) Les say the patch is in /tmp sh PHCO_34529

6) Now you have two files. read the .text, second is the depot PHCO_34529.depot

7)swinstall -s /tmp/PHCO_34529.depot \*

Things to think about:
The file may just be lost in the home directory of the user that uploaded it. Hopefully thats not root. root ftp should not be permitted.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
NMory
Respected Contributor

Re: Patch management

Khilari:

Depending on your selection your download may include a script that creates a depot for you.

If not, use swinstall to check what depots are registered in your server, and use that directory as a depot.

If there are no depots registered then you must register one in order to install the patch.

LN