Operating System - HP-UX
1827284 Members
3567 Online
109717 Solutions
New Discussion

resolve errors from swcopy

 
SOLVED
Go to solution
Brian Bartley
Frequent Advisor

resolve errors from swcopy

Hello,
I'm trying to install this bundle: EventMonitoring_A.04.20.11.05_HP-UX_B.11.11_32_64.depot.

The copy analysis says:
The prerequisite "SystemAdmin.SAM" for fileset "EMS-Config.EMS-GUI,r=A.04.20.11.05" cannot be successfully resolved.

SystemAdmin.SAM is on the target:
swlist -l fileset | grep -i systemadmin.sam
PHCO_35520.SAM 1.0 SystemAdmin.SAM
PHCO_35520.SAM-ENG-A-MAN 1.0 SystemAdmin.SAM-ENG-A-MAN
PHCO_35520.SAM-HELP 1.0 SystemAdmin.SAM-HELP
SystemAdmin.SAM B.11.11 System Administration Manager
SystemAdmin.SAM-ENG-A-MAN B.11.11 SAM-ENG-A-MAN
SystemAdmin.SAM-HELP B.11.11 On-line Help for System Adminstration Manager
SystemAdmin.SAM-JPN-E-MAN B.11.11 SAM-JPN-E-MAN
SystemAdmin.SAM-JPN-S-MAN B.11.11 SAM-JPN-S-MAN

What step should I take, should I turn off the "enforce dependency" option and copy anyways? I'm trying to copy the depot file's contents to /var/spool/sw so I can run swinstall to install it. Thanks,

Brian
Brian Bartley
Campus Card Services
Indiana University
8 REPLIES 8
Steven E. Protter
Exalted Contributor
Solution

Re: resolve errors from swcopy

Shalom Brian,

turning off enforce dependency will probably do no good.

Reason: It is saying you don't have the software installed you are trying to patch.

swcopy is used to build depots, not install them.

Have you tried swinstall ?

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
James R. Ferguson
Acclaimed Contributor

Re: resolve errors from swcopy

Hi Brian:

> What step should I take, should I turn off the "enforce dependency" option

If you mean to do this to add software to a depot, then add '-x enforce_dependencies=false' to your 'swcopy'. This also dependency analysis to be skipped when building a depot.

When you actually install software, add '-x enforce_dependencies=true' (which is the default). Then, dependency analysis is enforced and satisfied as long as either the depot or the server has the necessary requisite software.

Regards!

...JRF...

#
cnb
Honored Contributor

Re: resolve errors from swcopy

Hi Brian,

Use swinstall -s /location-of-depot/bundle.depot to install it.


for example copy (cp or mv) the depot to /tmp and do:

# swinstall -s /tmp/EventMonitoring_A.04.20.11.05_HP-UX_B.11.11_32_64.depot

Rgds,
Brian Bartley
Frequent Advisor

Re: resolve errors from swcopy

Hi Steven,
You asked if I tried swinstall, it turns out it does seem to help if I run the install analysis there instead of with swcopy. I feel more comfortable with the terminal interface than command line. Although my post said I was trying to install the EMS bundle, it's really the Online diag bundle I'm trying to install, and it led me to the EMS bundle that I posted about

I ran the swinstall analysis on the online diag depot and got this:


======= 01/22/10 15:09:00 EST BEGIN install AGENT SESSION (pid=18252)

* Agent session started for user
"root@opt9000.eigenmann.indiana.edu". (pid=18252)

* Beginning Analysis Phase.
* Source:
opt9000.eigenmann.indiana.edu:/optim/extract/stm.depot
* Target: opt9000:/
* Target logfile: opt9000:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
The prerequisite
"EMS-Config.EMS-GUI,r>=A.04.20.11,a=HP-UX_B.11.00_32/64,v=HP"
for fileset "Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04" cannot
be successfully resolved.
The prerequisite
"EMS-Core.EMS-CORE,r>=A.04.20.11,a=HP-UX_B.11.00_32/64,v=HP"
for fileset "Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04" cannot
be successfully resolved.
The prerequisite
"EMS-Core.EMS-MX,r>=A.04.20.11,a=HP-UX_B.11.00_32/64,v=HP" for
fileset "Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04" cannot be
successfully resolved.
ERROR: The dependencies for fileset
"Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04" cannot be resolved
(see previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* Executing preDSA command.
NOTE: The used disk space on filesystem "/" is estimated to decrease
by 40 Kbytes.
This will leave 114216 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 7648 Kbytes.
This will leave 441024 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 2472 Kbytes.
This will leave 1255008 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/opt" is estimated to
increase by 24 Kbytes.
This will leave 487088 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
ERROR: Exclude Sup-Tool-Mgr.STM-UI-RUN,r=B.11.11.21.04
ERROR: 1 of 13 filesets had Errors.
* 12 of 13 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for
details.

###### end of install snip #########

So I appear to be getting close, only one fileset has an error. It's looking for these:
EMS-Config.EMS-GUI,r>=A.04.20.11
EMS-Core.EMS-CORE,r>=A.04.20.11
MS-Core.EMS-MX,r>=A.04.20.11

When I try to get the EMS software I get more errors:

##### analysis of EventMonitoring_A.04.20.11.05_HP-UX_B.11.11_32_64.depot #######


======= 01/22/10 15:24:09 EST BEGIN install AGENT SESSION (pid=18956)

* Agent session started for user
"root@opt9000.eigenmann.indiana.edu". (pid=18956)

* Beginning Analysis Phase.
* Source:
opt9000.eigenmann.indiana.edu:/optim/extract/EventMonitoring_A.04.20.11.05_HP-UX_B.11.11_32_64.depot

* Target: opt9000:/
* Target logfile: opt9000:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
The prerequisite "WBEMServices.WBEM-CORE,r>=A.02.05.%000" for
fileset "EMS-Core.EMS-WRAPPER,r=A.04.20.11.05" cannot be
successfully resolved.
ERROR: The dependencies for fileset
"EMS-Core.EMS-WRAPPER,r=A.04.20.11.05" cannot be resolved (see
previous lines).
You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false".
* Executing preDSA command.
NOTE: The used disk space on filesystem "/" is estimated to increase
by 1232 Kbytes.
This will leave 112944 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/opt" is estimated to
increase by 208 Kbytes.
This will leave 486904 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 112 Kbytes.
This will leave 448560 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 216 Kbytes.
This will leave 1257616 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
ERROR: Exclude EMS-Core.EMS-WRAPPER,r=A.04.20.11.05
ERROR: 1 of 5 filesets had Errors.
* 4 of 5 filesets had no Errors or Warnings.
ERROR: The Analysis Phase had errors. See the above output for
details.

###### end of snip #########

So I got the WBEMSvcs_A.02.07.06_HP-UX_B.11.11_32_64.depot and tried the analysis on it, I won't post it, but it wants Openssl as a prereq.

I wonder if I need a different strategy, or do I really need to install Openssl, WBEMS, and EMS just to update my Online Diag? The reason I want the OnlineDiag is because my tech support person at HP says I need to get to ver A.63 of STM in order to troubleshoot the critical single-bit memory errors we're getting in the STM logs.

Brian
Brian Bartley
Campus Card Services
Indiana University
cnb
Honored Contributor

Re: resolve errors from swcopy

Hi Brian,


Been there, done that...

:-)


Yes we had to install all of the pre-req bundles and patches in order to get everything up to date for the latest STM & EMS versions.

Rgds,
AVV
Super Advisor

Re: resolve errors from swcopy

Hi Brian,

Since the log says as "You must resolve the above dependencies before operating on
this fileset or change the "enforce_dependencies" option to
"false". "

Did you try to install with enforce_dependencies=false ? Just try and see whether you get any errors. If it goes well you can ensure it is the problem with dependencies not available or installed. ANyway, I will not prefer to intall these without all the needed dependencies.
Dennis Handly
Acclaimed Contributor

Re: resolve errors from swcopy

>Ajesh: Did you try to install with enforce_dependencies=false? Just try and see whether you get any errors. If it goes well

This isn't something you should "just try". If it doesn't "go well", you may have to reinstall your OS. And if it "goes well", you may not know it really didn't, until much later.

>I will not prefer to install these without all the needed dependencies.

Right, that's the safe approach.
Brian Bartley
Frequent Advisor

Re: resolve errors from swcopy

Thanks for all the replies, I've arrived at the point where the install analysis says I can install STM now.
Brian Bartley
Campus Card Services
Indiana University