Solved

pkgadd - in HP-UX 11.0

Posted on 2003-10-27
7
1,030 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CPU monthly average? 12 120
IBM flash storage 840 15 64
Generate FIPS 140-2 Public Key on Unix 5 75
Search for selected keywords and its values in multiple log files 11 57
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

773 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