1753332 Members
5542 Online
108792 Solutions
New Discussion юеВ

make_depot & .depot file

 
SOLVED
Go to solution
Hrvoje Gjuric
New Member

make_depot & .depot file

I have a server with depot on it. Now I need to add a program that's in a .depot file to the software depot on that server. What do I have to do ? swcopy won't work. I suppose i need to somehow unpack that depot file, and then use make_depot to add that to the software depot ?
6 REPLIES 6
Denver Osborn
Honored Contributor
Solution

Re: make_depot & .depot file

Why won't swcopy work?

swcopy -s /source/some.depot product_a @ /target/depot

Either you tried it and the command fails or you're attempting to pull out something like a configure/install script.

-denver
Steven E. Protter
Exalted Contributor

Re: make_depot & .depot file

Shalom,

When sw---- stuff stops working.

/sbin/init.d/swagentd -r

# restart the daemon.

Make sure there is an /etc/nsswitch.conf file

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
Hrvoje Gjuric
New Member

Re: make_depot & .depot file

swcopy works if the depot file is on the server, but if I try with depot file on other server, I get this message:

ERROR "stst001d:/tmp/unzip-5.52-hppa-11.11.depot": You do not have the required permissions to perform this operation. Check permissions using the "swacl" command or see your system administrator for assistance. Or, to manage applications designed and packaged for nonprivileged mode, see the "run_as_superuser" option in the "sd" man page.

stst001d is in /.rhosts & /etc/hosts
Dennis Handly
Acclaimed Contributor

Re: make_depot & .depot file

>swcopy works if the depot file is on the server, but if I try with depot file on other server

I would just do all of the depot management work on the server. Then just install on each machine.

>Check permissions using the "swacl" command
>stst001d is in /.rhosts & /etc/hosts

The SD use swacl and not .rhosts.
Hrvoje Gjuric
New Member

Re: make_depot & .depot file

it seems that swacl doesn't work with .depot files :(

isn't there another way ?
Dennis Handly
Acclaimed Contributor

Re: make_depot & .depot file

>it seems that swacl doesn't work with .depot files :(

I was thinking about the remark:
This command supports operations on remote systems. See the Remote Operation section below for details.

I think you have to mention the machine, not the depot.