05-06-2009
AIX relocatable package help
Hi,
I have created a relocatable AIX package named Test.
The USIL is /abc
bash-2.05b# lsusil
INSTALL PATH = /abc
COMMENTS = None
Generally if a package gets installed in "/opt/Test" and i want to relocate it to "/abc" it gets installed under "/abc/Test". This happens the way in Solaris, Linux & HP.
In case of AIX, after creating the USIL, its getting installed under "/abc/opt/Test".
installp_r -R /abc -ad <path> Test
Am i missing something or is this the way AIX works?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
When i install SSH on AIX 5.1 I get the following message
{
A prerequisite package has not been installed. Open SSH
requires Open SSL (Secure Sockets Layer). Please install
Open SSL from the AIX Toolbox for Linux CD or Toolbox website:
}
I cannot find the AIX toolbox for linux CD, also on... (1 Reply)
Discussion started by: janr
1 Replies
2. AIX
Hello,
we have an 7015-R40, we want to update AIX.
oslevel shows 4.3.2.0
At ibm.com we found following
AIX 4300-11 maintenance package
Recommended maintenance for AIX 4.3.3
It's possible to update the system with this file or does we need another source?
Thank you!
S. (8 Replies)
Discussion started by: Sagitario
8 Replies
3. Linux
Hi,
I am finding the installed location of a package by:
rpm -qi <package_name>
And then parse the string "Relocations".
If i relocate this package during installation with --relocate option , the "Relocations" string still shows the old value. Though the package has been installed on the... (0 Replies)
Discussion started by: vibhor_agarwali
0 Replies
4. AIX
Hi,
If a package has been installed at normal location:
installp -u <package_name>
uninstalls the package
However, if that has been installed relocatable, the above command fails.
It requires the relocatable path as the parameter
installp -R <relocation_path> -u <package_name>
To find... (1 Reply)
Discussion started by: vibhor_agarwali
1 Replies
5. AIX
I have created a .bff package for an app to tbe installed on AIX servers across regions. I am pretty new to the AIX mode of packaging using mkinstallp but I have been able to get the same done. I installed the same on the server in which i created the package and the application was deployed... (9 Replies)
Discussion started by: jobbyjoseph
9 Replies
6. AIX
How to compile a package surce in AIX when we download its source? (2 Replies)
Discussion started by: johnveslin
2 Replies
7. AIX
Hi Experts,
How to Check the what runtime package is applied on AIX OS?
I would like to verify if “xlcpp.rte.10.1.0.aix.base” package is applied or not ?
thanks in advance.
-Mallela (1 Reply)
Discussion started by: meetmallela
1 Replies
8. UNIX for Dummies Questions & Answers
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
9. AIX
Please send me link for XVFB Source package for AIX (3 Replies)
Discussion started by: prathap.g
3 Replies
10. Shell Programming and Scripting
My current find command does not support printf.
I need find package that supports printf on AiX 6.1 system.
Can anyone help me with the download link or where / how / if I can find it ?
Can it be installed at a different non default location so that it can be reference without... (5 Replies)
Discussion started by: mohtashims
5 Replies
LEARN ABOUT OPENDARWIN
pkginfo
pkginfo(1) User Commands pkginfo(1)
NAME
pkginfo - display software package information
SYNOPSIS
pkginfo [-q | -x | -l] [-p | -i] [-r] [-a arch] [-v version] [-c category...] [pkginst...]
pkginfo [-d device] [-R root_path] [-q | -x | -l] [-a arch] [-v version] [-c category...] [pkginst...]
DESCRIPTION
pkginfo displays information about software packages that are installed on the system (with the first synopsis) or that reside on a par-
ticular device or directory (with the second synopsis).
Without options, pkginfo lists the primary category, package instance, and the names of all completely installed and partially installed
packages. It displays one line for each package selected.
OPTIONS
The -p and -i options are meaningless if used in conjunction with the -d option.
The options -q, -x, and -l are mutually exclusive.
-a arch Specify the architecture of the package as arch.
-c category Display packages that match category. Categories are defined with the CATEGORY parameter in the pkginfo(4) file. If more
than one category is supplied, the package needs to match only one category in the list. The match is not case specific.
-d device Defines a device, device, on which the software resides. device can be an absolute directory pathname or the identifiers
for tape, floppy disk, removable disk, and so forth. The special token spool may be used to indicate the default installa-
tion spool directory (/var/spool/pkg).
-i Display information for fully installed packages only.
-l Specify long format, which includes all available information about the designated package(s).
-p Display information for partially installed packages only.
-q Do not list any information. Used from a program to check whether or not a package has been installed.
-r List the installation base for relocatable packages.
-R root_path Defines the full path name of a directory to use as the root_path. All files, including package system information files,
are relocated to a directory tree starting in the specified root_path.
-v version Specify the version of the package as version. The version is defined with the VERSION parameter in the pkginfo(4) file.
All compatible versions can be requested by preceding the version name with a tilde (~). Multiple white spaces are replaced
with a single white space during version comparison.
-x Designate an extracted listing of package information. The listing contains the package abbreviation, package name, package
architecture (if available) and package version (if available).
OPERANDS
pkginst A package designation by its instance. An instance can be the package abbreviation or a specific instance (for example,
inst.1 or inst.2). All instances of a package can be requested by inst.*. The asterisk character (*) is a special character
to some shells and may need to be escaped. In the C-Shell, "*" must be surrounded by single quotes (') or preceded by a
backslash ().
EXIT STATUS
0 Successful completion.
>0 An error occurred.
FILES
/var/spool/pkg default installation spool directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
pkgtrans(1), pkgadd(1M), pkgask(1M), pkgchk(1M), pkgrm(1M), pkginfo(4), attributes(5)
Application Packaging Developer's Guide
SunOS 5.10 6 Nov 2000 pkginfo(1)