• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1092
  • Last Modified:

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
0
pgdar
Asked:
pgdar
  • 3
  • 2
1 Solution
 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now