[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1084
  • 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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