Operating System - HP-UX
1833587 Members
3758 Online
110061 Solutions
New Discussion

Re: problems to install a .depot

 
Tonatiuh
Super Advisor

problems to install a .depot

HP-UX 11.11

I cannot install a *.depot

# pwd
/var/spool/sw
# ll
total 114416
-rw-r----- 1 root sys 53217280 Mar 14 21:31 sdk14_14210_pa.depot
# swinstall /var/spool/sw/sdk14_14210_pa.depot

======= 03/14/06 21:34:15 WET BEGIN swinstall SESSION
(non-interactive) (jobid=ias01.lc.org-0066)

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

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



======= 03/14/06 21:34:17 WET END swinstall SESSION (non-interactive)
(jobid=ias01.lc.org-0066)
7 REPLIES 7
Jeff_Traigle
Honored Contributor

Re: problems to install a .depot

Try:

swinstall -s /var/spool/sw/sdk14_14210_pa.depot \*
--
Jeff Traigle
Carlos Roberto Schimidt
Regular Advisor

Re: problems to install a .depot

Hi,

Use

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

Schimidt
rariasn
Honored Contributor

Re: problems to install a .depot

Hi Tonatiuh,

# swlist @ /var/spool/sw/sdk14_14210_pa.depot

# swinstall -s /var/spool/sw/sdk14_14210_pa.depot

ran
Muthukumar_5
Honored Contributor

Re: problems to install a .depot

You have to specify depot file with -s option as,

# cd /
# swinstall -s /var/spool/sw/sdk14_14210_pa.depot \*

to install all product in the product.

To list the product then,

# swlist -s /var/spool/sw/sdk14_14210_pa.depot

will give details. From that select which one you want to install.

--
Muthu
Easy to suggest when don't know about the problem!
RAC_1
Honored Contributor

Re: problems to install a .depot

The depots come in two formats-one for tape drives and other in tar.
Do swlist on it and note down product name
swlist -d @ /var/spool/sw/sdk14_14210_pa.depot

Then
mkdir /tmp/pdt
swcopy -s /var/spool/sw/sdk14_14210_pa.depot "product_name_from_swlist_above" @ /tmp/sdt

swlist -l product -d @ /tmp/sdt, now
swinstall -s /tmp/pdt "product_name"
There is no substitute to HARDWORK
Bharat Katkar
Honored Contributor

Re: problems to install a .depot

Yes as already told you can either use "swinstall -s " or you can use "swcopy" to copy that depot file to an existing depot and then use "swinstall" to install.

Find attached doc on Patch Management for mroe details.

Regards,
You need to know a lot to actually know how little you know
Johnny Damtoft
Regular Advisor

Re: problems to install a .depot

Hi,

As some already mentioned you can install the depot by using swinstall

# swinstall -s /var/spool/sw/sdk14_14210_pa.depot

If you want this depot to be installed on other servers, you can also register the depot.

swreg -l depot /var/spool/sw/sdk14_14210_pa.depot

Now you can install the depot by just using the command:

# swinstall

If running locally, there is no need to select the server under "Source Host Name". However is running swinstall on another server, you can specify the hostname of which the depot is located.

When selecting the "Source Depot Path" you get a list of Registered Depots on host-xxxx.

Good luck with it..

// Johnny