Operating System - HP-UX
1820540 Members
3397 Online
109626 Solutions
New Discussion юеВ

Re: Problem to install a .depot

 
SOLVED
Go to solution
Tonatiuh
Super Advisor

Problem to install a .depot

# swinstall /var/spool/sw/jdk15_15003_pa.depot

======= 08/18/06 17:13:23 WETDST BEGIN swinstall SESSION
(non-interactive) (jobid=ias02.lc.org-0138)

* Session started for user "root@ias02.lc.org".

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



======= 08/18/06 17:13:30 WETDST END swinstall SESSION
(non-interactive) (jobid=ias02.lc.org-0138)

# ll /var/spool/sw/jdk15_15003_pa.depot
-rw-r----- 1 root sys 65843200 Aug 18 17:13 /var/spool/sw/jdk15_15003_pa.depot
9 REPLIES 9
Pete Randall
Outstanding Contributor
Solution

Re: Problem to install a .depot

Try swinstall -s /var/spool/sw/jdk15_15003_pa.depot


Pete

Pete
IT_2007
Honored Contributor

Re: Problem to install a .depot

Use this command with -s option.

swinstall -s /var/spool/sw/jdk15_15003_pa.depot
nanan
Trusted Contributor

Re: Problem to install a .depot

Hi
Retry with swinstall -s /file.depot

Regards
nanan
Pupil_1
Trusted Contributor

Re: Problem to install a .depot

If you don't specify the -s option, then the default location to check for the depot, which is /var/spool/sw, is checked and hence the error message.
There is always something new to learn everyday !!
Steven E. Protter
Exalted Contributor

Re: Problem to install a .depot

Shalom,

Recommend:
swinstall -s /var/spool/sw/jdk15_15003_pa.depot \*

That may not be strictly needed but if there are multiple depots you need to say, install em all.

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
Sp4admin
Trusted Contributor

Re: Problem to install a .depot

Hello,

Make sure you specify the full path name.

swinstall -s /var/spool/sw/jdk15_15003_pa.depot

sp,
Bill Hassell
Honored Contributor

Re: Problem to install a .depot

The format of the command is -s FULLPATHNAME_to_DEPOT \*

As Steven points out, this probably required. Since almost every depot has more than one file, always use \*. It means: load all the applicable files in this depot.


Bill Hassell, sysadmin
inventsekar_1
Respected Contributor

Re: Problem to install a .depot

Hi Tonatiuh,

swinstall -p -s softsource -f softlist \
@ myhost:/mydirectory
The @ myhost:/mydirectory is optional if you are installing to your local
host and default directory. If you have several selections, use the
command options to point to input files that contain lists of software
selections (-f softlist, above), default modifications and other variables

NOTE: In the swinstall command, if no source is specified, the local host's
default depot directory (/var/spool/sw) is assumed. If no host is
named, the system to receive the software is assumed to be the root (/)
directory on your local host. So, you do not have to use the @ sign and
[host][:][/directory] designation if you are operating on the local host
and/or default depot directory.
Be Tomorrow, Today.
GBR
Regular Advisor

Re: Problem to install a .depot

My experience is, if you don't want to start the interactive GUI make sure you specify the name of the software on the command line:

swinstall -s /path/to/file.depot name

GBR