General
cancel
Showing results for 
Search instead for 
Did you mean: 

how to swinstall what i get with swlist ?

JeanBernard
Trusted Contributor

how to swinstall what i get with swlist ?

Hi all,

I'm pretty much still a newbie, so please don't laugh...

Here's an exerpt of what I get when I run swlist -l fileset
OS-Core.CORE2-SHLIBS B.11.31 ...blablabla
OS-Core.CORE2-64SLIB B.11.31 ...blablabla

but, how to install them with swinstall ?

I tried swinstall OS-Core.CORE2-SHLIBS but then I got this:
ERROR: There is currently no depot software on host "mdavis" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "mdavis:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is mdavis:/var/adm/sw/swagentd.log).
* Selection had errors.

Any help appreciated.
If an answer is given, I do assign points as a rule.


Rule One: There are no rules
Rule Two: Cheat anyway
-- John Wick in "Play Dirty"
8 REPLIES
likid0
Honored Contributor

Re: how to swinstall what i get with swlist ?

if you run swlist -l fileset , you are listing software allready installed on your server.

if you want to install software you need a BLA.depot file, or a software depot.

if you wan't to install from a .depot you can run, and the you will get a gui to install the products/bundles you need:

swinstall -s $PWD/BLA.depot

from a depot server:

swinstall -s depotserver:/depot/path
Windows?, no thanks
Pete Randall
Outstanding Contributor

Re: how to swinstall what i get with swlist ?

What exactly did your command look like? Did you specify where the source was located with the -s switch?

swinstall -s /full/path/to/yoursource


Pete

Pete
sen_ux
Valued Contributor

Re: how to swinstall what i get with swlist ?

Are you trying to install it on the same machine.? You have listed the software which are already present on the server.

For installing a software, you need to have a depot , and use swinstall with -s option.

#swinstall -s /tmp/software.depot
JeanBernard
Trusted Contributor

Re: how to swinstall what i get with swlist ?

Here's the result for my swlist command:

# swlist -l fileset | grep OS-Core.CORE2-SHLIBS
OS-Core.CORE2-SHLIBS B.11.31 IA64-specific IA development libraries
PHCO_37782.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_38066.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_38145.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_38658.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_38822.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_38823.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_39051.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_39232.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_39604.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_39626.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_40220.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHCO_40381.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHKL_38772.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHSS_37042.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHSS_39822.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHSS_39898.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHSS_40540.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHSS_40542.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
PHSS_40544.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS

swlist -l depot gives:

# swlist -l depot
# Initializing...
# Target "mdavis" has the following depot(s):
/var/opt/mx/depot11
/home/plf/depot

and then swinstall -s /var/opt/mx/depot11 OS-Core.CORE2-SHLIBS

and what came out was:


# swinstall -s /var/opt/mx/depot11 OS-Core.CORE2-SHLIBS

======= 01/20/10 15:13:42 WET BEGIN swinstall SESSION
(non-interactive) (jobid=mdavis-0062)

* Session started for user "root@mdavis".

* Beginning Selection
* Target connection succeeded for "mdavis:/".
* Source connection succeeded for "mdavis:/var/opt/mx/depot11".
ERROR: Could not apply the software selection "OS-Core.CORE2-SHLIBS";
it is not available from depot or root
"mdavis:/var/opt/mx/depot11".
* Software selection failed for "mdavis:/var/opt/mx/depot11".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.



======= 01/20/10 15:13:44 WET END swinstall SESSION (non-interactive)
(jobid=mdavis-0062)



Rule One: There are no rules
Rule Two: Cheat anyway
-- John Wick in "Play Dirty"
JeanBernard
Trusted Contributor

Re: how to swinstall what i get with swlist ?

OK, I thought it meant software available for install...
Then how comes that when I try to install OMU 8.2 I get a message saying that these filesets are not installed ?

the exact message is:
ERROR: Missing fileset ImagingSubsystem (version B.11.31)
Fileset OS-Core.CORE2-SHLIBS with version B.11.31
Fileset OS-Core.CORE2-64SLIB with version B.11.31

Maybe i should move this thread to OM for unix page ?


Rule One: There are no rules
Rule Two: Cheat anyway
-- John Wick in "Play Dirty"
smatador
Honored Contributor

Re: how to swinstall what i get with swlist ?

Hi,
This message is normal if in the depot you don't have the fileset. To be sure
# swlist -l depot
# Initializing...
# Target "mdavis" has the following depot(s):
/var/opt/mx/depot11
/home/plf/depot
and list all the content of the depot with
# swlist @/var/opt/mx/depot11
Perhaps you don't have OS-Core.CORE2-SHLIBS on the depot /var/opt/mx/depot11
HTH
Steven E. Protter
Exalted Contributor

Re: how to swinstall what i get with swlist ?

Shalom,

If you have a running system, these libraries are probably already installed. There is no need to reinstall them.

swverify \*

See if anything corrupt comes up.

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

Re: how to swinstall what i get with swlist ?

seems they are installed anyhow...
thanks a lot for all your help!!


Rule One: There are no rules
Rule Two: Cheat anyway
-- John Wick in "Play Dirty"