Operating System - HP-UX
1834711 Members
2192 Online
110069 Solutions
New Discussion

Re: Help! swpackage and swinstall problem [no depot software}

 
John Bihlmeyer
New Member

Help! swpackage and swinstall problem [no depot software}

 
3 REPLIES 3
Doug Van tol
Occasional Contributor

Re: Help! swpackage and swinstall problem [no depot software}

It appears that you are trying to mix creating a tape and creating a server
based depot.

I'm not sure if the @ /var/spool/pkg/gsk4bas will cause an attempt to write to
the /var/spool/pkg/gsk4bas area, instead of to a tape drive device.

Does the tapes status light blink while the depot is being written to it?

If not your syntax may be incorrect. If this is the case you may want to try
the following:

swpackage -s gsk4bas.spec -x target_type=tape -d "device name"

where: "device name" is something in the realm of /dev/rmt/0m.

If I'm totally off the rocker on this, please pass along a bit more info on
what exactly you are attempting to do, i.e. write to a tape or disk area,
device name and such.

Good Luck,

Doug
John Bihlmeyer
New Member

Re: Help! swpackage and swinstall problem [no depot software}

Doug,
Thanks for info. The machine I am on does not have
a tape drive. I thought that swapackage creates a
temporary tape device, which it seems to.
the purpose of using target_type=tape was to get the
swpackage to create a tar file.

I thought that swinstall would also create a temporary
tape drive like swpacakge does so that a machine
without a tape device could install the product from
a directory or cdrom or something else.

I will try target_type=directory and see if that
helps.
Any other helpful hints would be appreciated
Thanks
Doug Van tol
Occasional Contributor

Re: Help! swpackage and swinstall problem [no depot software}

John,

Hopefully the target_type=directory will solve your problem. The =tape is
designed for writing the depot directly to tape. If you need to put the depot
on tape later, you can use the swcopy command to do so. Hopefully you've
succeeded.

Good Luck,

Doug