Operating System - HP-UX
1832852 Members
3298 Online
110047 Solutions
New Discussion

Re: depots! what is wrong???????????

 
James C. Geneva
Advisor

depots! what is wrong???????????

Hi:
I have this problem I have downloaded several
depots from the univ of utah on my win nt machine
and then ftp it to my HP 725/100 to usr2/depot
but when I use sam to install the software. I can not see a list of the software I must give the full path and file name to install it like /usr2/depot/a_depot-sd-10.20.depot then it will list and install it how can I get Sam to see all the depots in this directory???

Jim
HPUX Forever !
6 REPLIES 6
T G Manikandan
Honored Contributor

Re: depots! what is wrong???????????

you have to transfer the files using binary mode in ftp from the windows machine to hp server.


THen use

#swinstall -s
to install the package.

Also you can use swlist to list out the installed software.


Look at the man pages of swlist,swinstall.


Thanks
Michael Tully
Honored Contributor

Re: depots! what is wrong???????????

Hi Jim,

The only possible way to do this is to create a depot comprising of each of the products. Not sure if it will work, I've only ever done this with patches.

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

swlist -d @ /tmp/depot_dir

Good Luck
Michael
Anyone for a Mutiny ?
Ceesjan van Hattum
Esteemed Contributor

Re: depots! what is wrong???????????

Follow instruction of T.G. Manikandan. Or follow this example:

cd DIR (where DIR is location of your download)
file FILE.depot (your depot)
-> this should tell: tar file (!)
swinstall
->Source Depot Type: Local Directory
->Source Hostname:
->Source Depot Path: /DIR/FILE.depot

(so path is not only path, but path/FILE.depot !!)

This is the same as swinstall -s /DIR/FILE.depot
Regards,
Ceesjan
U.SivaKumar_2
Honored Contributor

Re: depots! what is wrong???????????

Hi,
when doing FTP use binary mode.
Before transfering the file.
ftp>binary
ftp>get sample.depot

regards,
U.SivaKumar

Innovations are made when conventions are broken
Michael Tully
Honored Contributor

Re: depots! what is wrong???????????

Perhaps I've mis-understood your question. If you have one depot file, yes you must specify the full path to the depot file.

You don't need to use 'sam' to install software that is in a depot format, just the 'swinstall' program.
Anyone for a Mutiny ?
Trond Haugen
Honored Contributor

Re: depots! what is wrong???????????

There are two types of depots. Tape or tape image depots and "directory depots". Both have to be specified with absolute path. The depots you ftp'ed are of type tape-image and can only be sw-listed or -installed one by one.
If you want to be able to "see" them all at once you will have to copy them to a directory depot like Michael explained.
If you use SAM or not doesn't matter. It's still swinstall that is run.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn