1845316 Members
2253 Online
110244 Solutions
New Discussion

swinstall

 
Prashant Zanwar_4
Respected Contributor

swinstall

Hi,
I have patches to install which I have downloaded to ~myhome/my_depot, did a shar on it and tried installing. Swinstall is not recognizing thr software. Please advise asap.
It says no depot software found.

# swinstall -s /home/pzanwar/my_depot/*
I have restarted the agent daemon.

Please advise urgent as this is urgent.
Thanks and regards
Prashant

======= 08/31/04 13:08:32 EDT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@crdushp6".

* Beginning Selection
* Target connection succeeded for "crdushp6:/".
* "crdushp6:/home/pzanwar/my_depot/PHCO_13808.depot": This
source is a tape device.
* "crdushp6:/home/pzanwar/my_depot/PHCO_13808.depot": Cannot
open the logfile on this target or source. Possibly the media
is read-only or there is a permission problem. Check the
daemon logfile and "/var/tmp/swagent.log" on this host for
more information.
ERROR: Could not apply the software selection
"/home/pzanwar/my_depot/PHCO_24189.depot"; it is not available
from depot or root
"crdushp6:/home/pzanwar/my_depot/PHCO_13808.depot".
* Software selection failed for
"crdushp6:/home/pzanwar/my_depot/PHCO_13808.depot".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.

"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
13 REPLIES 13
Rick Garland
Honored Contributor

Re: swinstall

Have you registered the depot that you created in ~myhome/my_depot?

Do 'swlist -l depot' and the return from this command will display currently registered depots. To registered a depot use the 'swreg' command.
Suresh Pai
Advisor

Re: swinstall

I believe the correct cmd is:
swinstall -s /home/pzanwar/my_depot/PHCO_13808.depot PHCO_13808
G. Vrijhoeven
Honored Contributor

Re: swinstall

Hi,

I think you should be able to swcopy the software to a depot, and then install it.

HTH,

Gideon
Sridhar Bhaskarla
Honored Contributor

Re: swinstall

Hi Prashant,

Suresh had the correct answer. You will need to specify the product that you are going to install from that depot.

swinstall -s /tmp/pzanwar/my_dpeot/PHCO_24189.depot \*

Should non-interactively install the patch.

Otherwise, bring up the swinstall CLI or GUI and select the depot manually.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Rick Garland
Honored Contributor

Re: swinstall

You original post indicates that you have multiple patches to install. If true, you can use the swinstall -s from the command line to install each patch individually. If some of the patches require reboot, then you will have multiple reboots. This does not take into account the dependencies that may be present between patches.

Putting the patches into a depot and register that depot means you can install all patches at once and the dependencies will be satisfied (assuming you have downloaded all dependent patches).
Prashant Zanwar_4
Respected Contributor

Re: swinstall

Hi,
I am able to execute the swinstall on required patches, but now it says the installation is skipped a later version of patch is present. How to find the patch's later patch.
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Rick Garland
Honored Contributor

Re: swinstall

You can look at the ITRC patch site and see what superceded the patch in question.
Prashant Zanwar_4
Respected Contributor

Re: swinstall

Hi,
I have PHCO_13808 in question. System says another patch is installed instead of this. Site says this is not been supersaded by any patch when read details of 13808. How to know?
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Rick Garland
Honored Contributor

Re: swinstall

Also look in /var/adm/sw/patch/PATCH.log and grep for Superceded.

Prashant Zanwar_4
Respected Contributor

Re: swinstall

Hi,
I have seen on the site, it says

The recommended patch is : PHCO_26089
The most recent patch is : PHCO_29249

Does this means 13808 is supersaded by these patches..I dont see any of these are installed on my system.
Thanks
Prashant

"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Rick Garland
Honored Contributor

Re: swinstall

I show PHCO_26089 is the later and HP Recommended patch
RAC_1
Honored Contributor

Re: swinstall

There are two very helpful commands.

show_patches
check_patches

Anil
There is no substitute to HARDWORK
Rick Garland
Honored Contributor

Re: swinstall

Yes, these 2 patches you mentioned were the supercede patches