pkgdep man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

pkgdep(1M)		System Administration Commands		    pkgdep(1M)

NAME
       pkgdep - list package dependencies

SYNOPSIS
       pkgdep [-v] [-c | -m metacluster] [-p package-path]
	    package-name

DESCRIPTION
       The  pkgdep  utility  displays the package dependencies for a specified
       package-name. This can be  useful  when	determining  which  additional
       packages	 need  to be installed to support a new package or which pack‐
       ages should be installed together in a custom Jumpstart profile.

       Used without the -p package-path specifier, pkgdep examines the default
       package	directory  (/var/sadm/pkg) to find package-name. Used with the
       -p option, it examines a different location such as installation media.

       If the -m metacluster specifier is used, pkgdep requires that a	.clus‐
       tertoc file exist in the package-path. If the package-path is not spec‐
       ified, the .clustertoc will be obtained from the default	 system	 loca‐
       tion (/var/sadm/system/admin). Alternatively, the -c option can be used
       to display only dependencies not currently  installed  on  the  system,
       which examines the default package directory (/var/sadm/pkg).

OPTIONS
       The  following  options are supported. The  -m metacluster and -p pack‐
       age-path specifier are described under "Operands", below.

       -c

	   Display only dependencies which are not currently installed on  the
	   system. This option cannot be used in conjunction with the -m spec‐
	   ifier.

       -v

	   Display full package descriptions instead of just package names.

OPERANDS
       The following operands are supported:

       Metaclusters

	   By default, pkgdep displays all the dependencies of the   specified
	   package-name.  It  may  be  useful  to  list	 any  dependencies not
	   included in a specific metacluster if adding a package to a	custom
	   Jumpstart profile. To specify the metacluster to check, the follow‐
	   ing can be used:

	   -m metacluster

	       Display dependencies not included in metacluster.   metacluster
	       can be any of the following:

		   o	  SUNWCXall ‐ Entire Distribution plus OEM Support

		   o	  SUNWCall ‐ Entire Distribution

		   o	  SUNWCprog ‐ Developer System Support

		   o	  SUNWCuser ‐ End User System Support

		   o	  SUNWCreq ‐ Core System Support

		   o	  SUNWCrnet ‐ Reduced Networking Core System Support

		   o	  SUNWCmreq ‐ Minimal Core System Support

       Package Path

	   To  specify	an  alternate directory in which to find the  package,
	   the following can be used:

	   -p package-path

	       The path in which to find the specified package-path.

EXAMPLES
       Example 1 Determining Which Packages Should Be Installed Together

       The following  example  displays	 dependent  package  descriptions  for
       adding  the  Apache Server to the Core System Support metacluster found
       on a Solaris DVD.

	 example# pkgdep -v -m SUNWCreq \
	 -p /cdrom/cdrom0/Solaris_10/Product SUNWapch2r

       Example 2 Making Sure All Dependent Packages Are Installed

       The following example checks that all the dependent packages for Apache
       Server are installed. Any that are missing are listed.

	 example# pkgdep -c SUNWapch2r

EXIT STATUS
       0

	   Successful completion.

       1

	   Fatal error.

FILES
       /var/sadm/pkg

	   Default package-path.

       /var/sadm/system/admin/.clustertoc

	   Default file containing metacluster info.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWpkgcmdsu		   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Uncommitted		   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       pkginfo(1),    pkgmk(1),	   pkgparam(1),	   pkgproto(1),	  pkgtrans(1),
       installf(1M),   pkgadm(1M),    pkgask(1M),    pkgchk(1M),    pkgrm(1M),
       removef(1M),   admin(4),	   pkginfo(4),	 attributes(5),	 largefile(5),
       zones(5)

       http://www.openssl.org

SunOS 5.10			  9 Apr 2012			    pkgdep(1M)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net