1834554 Members
3976 Online
110069 Solutions
New Discussion

depot problems

 
Chris Fadrowski
Super Advisor

depot problems

I am trying to register a depot on a local machine. When i do a
swreg -l depot /u01/depot
i get errors stating that no depot software in /u01/depot. Excuse me in advance, but do i need to swcopy of software first to this destination so i can register it?
5 REPLIES 5
Helen French
Honored Contributor

Re: depot problems

Hi,

'swreg' normally using for registering a depot created by 'swpackage'. By default, the swcopy command registers newly created depots.

You can use 'swreg' to explicitly register/unregister a depot when the automatic behaviors of swcopy, swinstall, swpackage and swremove do not suffice.

HTH,
Shiju
Life is a promise, fulfill it!
Wodisch
Honored Contributor

Re: depot problems

Hello,

"swreg" can only be used to register an existing depot, so you have to use "swpackage" or "swcopy" first.
That problem does not exist for un-registering depots, though...

HTH,
Wodisch
Michael Tully
Honored Contributor

Re: depot problems

Hi,

Here is the procedure I've used once I've downloaded the patches and placed into a directory.

# mkdir /tmp/patches
# for i in PH*
> do
> sh $i
> done

# for i in PH*.depot
> do
> swcopy -s ${PWD}/$i \* @/tmp/patches
> done

HTH
-Michael
Anyone for a Mutiny ?
Steffi Jones_1
Esteemed Contributor

Re: depot problems

Hi Chris,

make sure you don't have a typo in the command line. Sometimes that is the reason for the error message.
Swinstall is very case sensitive.

Take care,

Steffi JOnes
Sanjay_6
Honored Contributor

Re: depot problems

Hi Chris,

you should first copy some depot software to the directory using swcopy or swpackge and then register the depot.

Hope this helps.

Regds