Operating System - HP-UX
1832898 Members
2362 Online
110048 Solutions
New Discussion

verify patch bundle depot??

 
SOLVED
Go to solution
John McDen
Regular Advisor

verify patch bundle depot??

I created a patch bundel depot using the swpackage command.

But when I try to verify the .depot file it gives me error.

root> swinstall -p /tmp/PATCHES

======= 05/06/02 09:07:14 EDT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@zamn10".

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



======= 05/06/02 09:07:17 EDT END swinstall SESSION (non-interactive)

Is it that the depot is incorrect and can't use to install the patches??

Please help !!
New to HP
8 REPLIES 8
G. Vrijhoeven
Honored Contributor

Re: verify patch bundle depot??

hi,

use :

swreg -l depot /dir

Hope this will help,

Gideon
Helen French
Honored Contributor

Re: verify patch bundle depot??

Hi John:

This doesn't mean any issues with your depot. If the depot is not registered, then do it with 'swreg' command. Also when specifying the source location, give the complete path. You will not have any problems during swinstall.

HTH,
Shiju
Life is a promise, fulfill it!
Victor_5
Trusted Contributor

Re: verify patch bundle depot??

Try only type swinstall first, go to the menu, select the

Source Depot Type
Source Host Name
Source Depot Path

over there, make sure use the full path, it should be ok.
Good luck!
John McDen
Regular Advisor

Re: verify patch bundle depot??

No it does not work ...

I did

swreg -l depot (full path)
then

swinstall -p (fullpath with filename.)

same error..

New to HP
Sukant Naik
Trusted Contributor
Solution

Re: verify patch bundle depot??

Hi John,

After you have run

# swreg -l depot /tmp/PATCHES

try

# swlist -s /tmp/PATCHES

This must then show the depots at the location /tmp/PATCHES. If is not showing any patch bundles then there is an error while creating the patch bundle.

So so an swlist first and then go ahead and use the swinstall -p

-Sukant
Who dares he wins
G. Vrijhoeven
Honored Contributor

Re: verify patch bundle depot??

Hi,

try restarting the swagentd:

/usr/sbin/swagentd -r

Hope this will help,

Gideon
Trond Haugen
Honored Contributor

Re: verify patch bundle depot??

You are missing the source option:
root> swinstall -p -s /tmp/PATCHES


Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Helen French
Honored Contributor

Re: verify patch bundle depot??

Hi John:

The -p option is for preview. Are you trying to install or checking it ? Try these:

# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start

Invoke swinstall with -s and source OR
Invoke swinstall without any options, and give complete path at the target window (/tmp/PATCHES/patch.depot)

HTH,
Shiju
Life is a promise, fulfill it!