Operating System - HP-UX
1830705 Members
2455 Online
110015 Solutions
New Discussion

swcopy from cdrom to local depot

 
SOLVED
Go to solution
MikeL_4
Super Advisor

swcopy from cdrom to local depot

I have a patch depot to install and would like to include the install of the B8724AA off of cdrom at the same time to save on an extra boot. I tried the following swcopy, but it failed:
swcopy -s /cdrom/B8724AA \*
@ /cpm_depot/11.00/uxas02/sync-up_depot
======= 09/04/03 08:37:03 EDT BEGIN swcopy
* Session started for user "root@uxas02".
* Beginning Selection
* Target connection succeeded for
"uxas02:/cpm_depot/11.00/uxas02/sync-up_depot".
ERROR: There is currently no depot software on host "uxas02" at
location "/cdrom/B8724AA". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "uxas02:/cdrom/B8724AA".
WARNING: More information may be found in the daemon logfile on this
target (default location is uxas02:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 09/04/03 08:37:07 EDT END swcopy

Can I include this install with the depot, and if so how do I copy it over ???

Thanks
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: swcopy from cdrom to local depot

Mike,

I generally do the swcopy interactively through the GUI. I think you'll have a better chance of specifying the source that way - you have to get it exactly right!


Pete


Pete
Massimo Bianchi
Honored Contributor

Re: swcopy from cdrom to local depot

Hi,
to use the cdrom as a source, there shouild be a depot.

i suspect that you mistype something, check if it there with "swlist -s /cdrom" or "swlist -s /cdrom/BA..." and then use the one that answer.

Also add the -x enforce_dependencies=false to prevent futile messages.

swcopy -x enforce_dependencies=false -s ???? "*" @/your_depot....

Massimo
James R. Ferguson
Acclaimed Contributor

Re: swcopy from cdrom to local depot

Hi Mike:

If the product requires a codeword to unlock it, be sure that you have applied it.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: swcopy from cdrom to local depot

Mike,

Another thought - are you sure that "/cdrom/B8724AA" is exactly the way the product name is specified? You could try using file name completion to make sure you've got it right: assuming you're using the posix shell (you are doing this as root and you haven't changed root's shell, right?), type in "swcopy -s /cdro", then hit the key twice - file name completion should fill in the "m" for you. You can then proceed in a similar fashion to finish the full file name: continue typing "/B8724" and hit - that should finish the name of the fileset for you.


Pete


Pete
MikeL_4
Super Advisor

Re: swcopy from cdrom to local depot

doing the copy interactive worked perfectly...

Thanks