Solved

pkgadd - in HP-UX 11.0

Posted on 2003-10-27
7
1,036 Views
Last Modified: 2013-12-16
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
Comment
Question by:pgdar
  • 3
  • 2
7 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 100 total points
ID: 9631809
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
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 9658543
swinstall will NOT accept SVR4 packages (from Solaris)

You may want to use cpio to unpack the package contents
0
 
LVL 38

Expert Comment

by:yuzh
ID: 9662774
The binary from Solaris might not run under HP-UX!
0
 
LVL 16

Expert Comment

by:Hanno Schröder
ID: 9662850
... it will not run ;-)
0
 
LVL 38

Expert Comment

by:yuzh
ID: 9925585
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AIX print queues constantly going down 11 545
Parsing a file using ksh 10 70
Convert OverPunch 25 65
to update from RHEL 6.0 to 6.8 anything needed other than "yum update"? 7 108
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question