1830895 Members
2098 Online
110017 Solutions
New Discussion

swinstall problem

 
jessica Koo
Occasional Contributor

swinstall problem

Hello all,

I have a install.sh script that do
the following:

swreg -l depot /tmp/prod1.depot
swinstall -s /tmp/prod1.depot @ /var/prod1

and prod1.depot is created with swpackage using
a psf file of prodname prod1.

prod1 is successfully installed at the directory /var/prod1

However,

1. prod1 cannot be located in SAM

2.
using command line
'swlist | grep prod1' shows nothing.

3.
using command line
'swlist @ /var/prod1 shows prod1 in the list.

So, how is it that prod1 cannot be found in SAM lists of installed software and depot.
Harry said,

I need to specify the directory for installing the product to be e.g /var/prod1 or /opt/prod1
And the depot file is sitting in /tmp/prod1.depot




Thanks in advance.
- Jessica

Eternity, eternity,where does thou lead ?
2 REPLIES 2
Wodisch
Honored Contributor

Re: swinstall problem

Hi Jessica,

as far as I see, you are installing into another "root" filesystem, NOT into a specific target directory on your system!
And the consequence is that you will get another IPD (Installed Product Database) for that other "root" - in your case that would be "/var/prod1/var/spool/sw/products/".

So the question is: what was/is your goal? Installing something into another directory, but still on your locla system and into your existing IPD?
Or to install something into another "root"? But that is almost always useful only for a mounted root-filesystem of another computer...

FWIW,
Wodisch
Karvendhan M
Frequent Advisor

Re: swinstall problem


If I am correct, You want to install the depot in a diff. place other than the default location.


If so, pls do.

# swinstall -s ,l=




HTH,

~ Kars