Operating System - HP-UX
1830892 Members
2865 Online
110017 Solutions
New Discussion

Error when trying to install software

 
SOLVED
Go to solution
take2mir
Advisor

Error when trying to install software

Hi everybody,
I have downloaded a file Ignite-UX-11-11_C.6.7.79.depot from server A into server B through ftp. I downloaded it into /var/spool/sw at server B. Before that I created directory /ignite. However when i tried to install with command swinstall, the error came out:

#swinstall -s /var/spool/sw/Ignite-UX-11-11_C.6.7.79.depot /ignite

======= 01/04/08 10:46:23 SST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@saeip08".

* Beginning Selection
* Target connection succeeded for "saeip08:/".
ERROR: Could not apply the software selection "/ignite"; it is not
available from depot or root
"saeip08:/var/spool/sw/Ignite-UX-11-11_C.6.7.79.depot".
* Software selection failed for
"saeip08:/var/spool/sw/Ignite-UX-11-11_C.6.7.79.depot".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.

I have been informed from this forum that I need to register the depot. When I try to register the depot, the error came out again as below:
# swreg -l depot /var/spool/sw

======= 01/04/08 10:58:35 SST BEGIN swreg SESSION (non-interactive)

* Session started for user "root@saeip08".

* Beginning Selection
* Targets: saeip08
* Objects: /var/spool/sw
ERROR: There is currently no depot software on host "saeip08" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
ERROR: More information may be found in the daemon logfile on this
target (default location is saeip08:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 01/04/08 10:58:36 SST END swreg SESSION (non-interactive)

With command swlist, I found this error:

# swlist -l depot
# Initializing...
WARNING: No depot was found for "saeip08:".

What is the problem? How should I register the depot?


4 REPLIES 4
Dennis Handly
Acclaimed Contributor
Solution

Re: Error when trying to install software

>Before that I created directory /ignite.

What are you trying to do with that directory?

>when i tried to install with command swinstall, the error came out:
#swinstall -s /var/spool/sw/Ignite-UX-11-11_C.6.7.79.depot /ignite

If you want to install to an alternate root you need to use: ... @ /ignite
If you just want to install it, leave off /ignite.

>How should I register the depot?

You can't register a depot if there isn't one there.
What are you trying to do?
Torsten.
Acclaimed Contributor

Re: Error when trying to install software

Run this

#swinstall -s /var/spool/sw/Ignite-UX-11-11_C.6.7.79.depot

The "/ignite" at the end of the line is not a valid parameter.

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!   
take2mir
Advisor

Re: Error when trying to install software

Oh i see.. so the target is no need to put. Thank you. Before this I think that we need to create the target for the installation process to complete. Thanks again.
take2mir
Advisor

Re: Error when trying to install software

Thank for those who are helping me to solve the problem