Operating System - HP-UX
1825793 Members
2598 Online
109687 Solutions
New Discussion

swinstall from a depot file

 
jp
Frequent Advisor

swinstall from a depot file

When I do an swlist on this file I get the data - 3 bundles, no problem.
# swlist -d @ /var/spool/sw/elo7
# Initializing...
# Contacting target "xyz_ux1"...
# Target: xyz_ux1:/var/spool/sw/elo7
# Bundle(s):
Eloquence_All B.07.00.01 Eloquence B.07.00
Eloquence_Std B.07.00.01 Eloquence B.07.00
Eloquence_Tmplic B.07.00.01 Eloquence B.07.00
#
When I do swverify I get
# swverify -d @ /var/spool/sw/elo7
======= 01/09/04 14:19:37 EDT#VIC BEGIN swverify SESSION
non-interactive) (jobid=xyz_ux1-0026)
* Session started for user "root@xyz_ux1".
* Beginning Selection
ERROR: "xyz_ux1:/var/spool/sw/elo7": This source is a tape device.
* Target connection failed for "xyz_ux1:/var/spool/sw/elo7".
ERROR: More information may be found in the daemon logfile on this
target (default location is
xyz_ux1:/var/adm/sw/swagentd.log).
* Selection had errors.
Any ideas please? I can do an swinstall from the CD, AFTER I chown root ...._SECURITY (was bin), but not from this file. If swlist can read it, whats up with swverify???
UX 11i, N4000, 1GB, 1x 440Mhz, 2 x 36gb Disk.
TIA,
jp

9 REPLIES 9
Suresh Patoria
Super Advisor

Re: swinstall from a depot file

Hi,

will u please try the following command

swlist -d \* @ /var/spool/sw/elo7

Thanx
Suresh Patoria
Super Advisor

Re: swinstall from a depot file

Hi,

will u please try the following command

swverify -d \* @ /var/spool/sw/elo7

Thanx
Jim Butler
Valued Contributor

Re: swinstall from a depot file

Can you swcopy the depot from the tape to a disk?
Man The Bilge Pumps!
jp
Frequent Advisor

Re: swinstall from a depot file

IT ISNT ON A TAPE!!!!! It is on disk already. How often is /var/spool/sw a tape directory.....???
Even if it was, why would swlist read it fine, but not swverify???

jp
Jannik
Honored Contributor

Re: swinstall from a depot file

from man swverify:
NOTE: swverify does not support operations on a tape depot.

The swverify command verifies the software_selections at one or more target_selections (e.g. root filesystems). When verifying installed
software, swverify checks software states, dependency relationships, file existence and integrity, in addition to executing vendor-supplied verification scripts.

from man swlist:
The swlist command displays information about software products installed at or available from the specified target_selections.

So swverify looks more into detail and dont work on tape.

I would swcopy it from the location to another as above.
jaton
Michael Schulte zur Sur
Honored Contributor

Re: swinstall from a depot file

Hi,

for a detailed description of swverify read:
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90154/B2355-90154_top.html&con=/hpux/onlinedocs/B2355-90154/00/00/16-con.html&toc=/hpux/onlinedocs/B2355-90154/00/00/16-toc.html&searchterms=swverify&queryid=20040110-172947

I just wonder, if space after @ is required or not.

Concerning the error message read:
http://www.usg.edu/oiit/support/os/HP-UX_10.20/white_SDUX.html

It is an older version, but who knows, maybe the problem still exists.

greetings,

Michael

jp
Frequent Advisor

Re: swinstall from a depot file

Suresh,
You version of swlist gives same result as before - lists 3 bundles ok.
??
TIA,
jp
jp
Frequent Advisor

Re: swinstall from a depot file

Hello all....I just went back and did a small install from the CD, worked ok (after making some space in /usr - any hints on what i clean up out of there please?), So tried the
swinstall -s /var/spool/sw/elo7
and it worked fine, no problems at all.
???
thanks for the ideas anyway, no doubt I will be back for more help.

regards,
jp
Bill Hassell
Honored Contributor

Re: swinstall from a depot file

There are two types of depots, the standard depot file which swinstall uses with no special options (ie, HP software, patches) and tape depots (is, the HP online diagnostics are in tape format). That's why interactive swinstall has several choices in the menu box for the source, including. Tape refers to the format and not the actual media. Apparently the Eloquence product was built as in tape format. The Eloquence instructions should give you the details but the easiest is to run swinstall interactively, then select the SDource Depot type as local tape and type the fullpath name of the file in Source Depot Path...


Bill Hassell, sysadmin