pkgadd - in HP-UX 11.0

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
pgdarAsked:
Who is Participating?
 
yuzhCommented:
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
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
swinstall will NOT accept SVR4 packages (from Solaris)

You may want to use cpio to unpack the package contents
0
 
yuzhCommented:
The binary from Solaris might not run under HP-UX!
0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
... it will not run ;-)
0
 
yuzhCommented:
How's it going? time to close this question?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.