pkgadd - in HP-UX 11.0

pgdar
pgdar used Ask the Experts™
on
Hi All

I have a question about pkgadd. I have a few packages that were created on Soalris 8 platform and I have to spool them on a HP-UX 11.0 platform (dont need to install them - spoolong with be OK). I ftped the files and uncompressed them and put them in a directory called src. Then I created a new directory called output where I want the spooled info to go.

Then from the src directory when I run

$> pkgadd -d /home/mylogin/src/pkg1 -s /home/mylogin/output

I get the following error

Out of phase--get help
Perhaps the "-c" option shouldn't be used
pkgadd: ERROR: attempt to process datastream failed
    - process <cpio -icdum > failed, exit code 2

I am not sure where I am going wrong.

Any ideas are highly appreciated

Thanks
- pgdar
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
pkgadd is a Solaris command!

for HP-UX, use:

swinstall

man swinstall

to learn more

eg.

swinstall -s /tmp/somepkg.depot -x aotoreboot=true patch_match_target=true
Hanno P.S.IT Consultant and Infrastructure Architect

Commented:
swinstall will NOT accept SVR4 packages (from Solaris)

You may want to use cpio to unpack the package contents
The binary from Solaris might not run under HP-UX!
Hanno P.S.IT Consultant and Infrastructure Architect

Commented:
... it will not run ;-)
How's it going? time to close this question?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial