Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
   1 MAKE_PKG_DB(1)                   User Commands                  MAKE_PKG_DB(1)
   2 
   3 
   4 
   5 NAME
   6        make_pkg_db - create a Perl DBM database of installed software
   7 
   8 SYNOPSIS
   9        make_pkg_db -dbdir dbm_database_pathname [-h]
  10                    [-ifiles filename...]
  11                    [-pkgdef package_pool_pathname]
  12 
  13 DESCRIPTION
  14        The make_pkg_db command (a Perl script) generates a Perl DBM database
  15        of software installed on a system based on /var/sadm/install/contents
  16        or the contents of a package pool directory. The Perl DBM database
  17        files are used by get_depend_info(1).
  18 
  19        The Perl DBM database files contain information keyed on a file name.
  20        Some files, for example, list the package in which a file is included
  21        and the permissions of the file.
  22 
  23        If you run make_pkg_db -dbdir dbm_database_pathname, an error message
  24        such as:
  25 
  26        ***CANNOT RESOLVE ABSOLUTE PATH /usr/java/bin/appletviewer
  27 
  28        is generated because the script cannot resolve symbolic links based on
  29        the information in /var/sadm/install/contents. In
  30        /var/sadm/install/contents, for example, appletviewer is specified as a
  31        symbolic link:
  32 
  33        /usr/bin/appletviewer=../java/bin/appletviewer s none SUNWj2dev
  34 
  35 
  36        Unfortunately, /usr/java is a symbolic link to /usr/java1.2.  The
  37        correct file entry in /var/sadm/install/contents is therefore


 108 
 109        package_pool_pathname
 110                                Specifies the path name of the package pool you
 111                                want to use instead of
 112                                /var/sadm/install/contents.
 113 
 114 
 115 ATTRIBUTES
 116        See attributes(5) for descriptions of the following attributes:
 117 
 118 
 119        +--------------------+-----------------+
 120        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 121        |Availability        | SUNWonbld       |
 122        |CSI                 | Enabled         |
 123        |Interface Stability | Evolving        |
 124        |MT-Level            | Unsafe          |
 125        +--------------------+-----------------+
 126 
 127 SEE ALSO
 128        get_depend_info(1), attributes(5)
 129 
 130 NOTES
 131        DBM database files are platform dependent. DBM database files you
 132        generate on a SPARC machine, for example, do not work on an IA machine
 133        (and vice-versa).
 134 
 135        This script might not resolve all symbolic links.
 136 
 137 
 138 
 139                                November 2, 2000                 MAKE_PKG_DB(1)
   1 MAKE_PKG_DB(1ONBLD)           illumos Build Tools          MAKE_PKG_DB(1ONBLD)
   2 
   3 
   4 
   5 NAME
   6        make_pkg_db - create a Perl DBM database of installed software
   7 
   8 SYNOPSIS
   9        make_pkg_db -dbdir dbm_database_pathname [-h]
  10                    [-ifiles filename...]
  11                    [-pkgdef package_pool_pathname]
  12 
  13 DESCRIPTION
  14        The make_pkg_db command (a Perl script) generates a Perl DBM database
  15        of software installed on a system based on /var/sadm/install/contents
  16        or the contents of a package pool directory. The Perl DBM database
  17        files are used by get_depend_info(1ONBLD).
  18 
  19        The Perl DBM database files contain information keyed on a file name.
  20        Some files, for example, list the package in which a file is included
  21        and the permissions of the file.
  22 
  23        If you run make_pkg_db -dbdir dbm_database_pathname, an error message
  24        such as:
  25 
  26        ***CANNOT RESOLVE ABSOLUTE PATH /usr/java/bin/appletviewer
  27 
  28        is generated because the script cannot resolve symbolic links based on
  29        the information in /var/sadm/install/contents. In
  30        /var/sadm/install/contents, for example, appletviewer is specified as a
  31        symbolic link:
  32 
  33        /usr/bin/appletviewer=../java/bin/appletviewer s none SUNWj2dev
  34 
  35 
  36        Unfortunately, /usr/java is a symbolic link to /usr/java1.2.  The
  37        correct file entry in /var/sadm/install/contents is therefore


 108 
 109        package_pool_pathname
 110                                Specifies the path name of the package pool you
 111                                want to use instead of
 112                                /var/sadm/install/contents.
 113 
 114 
 115 ATTRIBUTES
 116        See attributes(5) for descriptions of the following attributes:
 117 
 118 
 119        +--------------------+-----------------+
 120        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 121        |Availability        | SUNWonbld       |
 122        |CSI                 | Enabled         |
 123        |Interface Stability | Evolving        |
 124        |MT-Level            | Unsafe          |
 125        +--------------------+-----------------+
 126 
 127 SEE ALSO
 128        get_depend_info(1ONBLD), attributes(5)
 129 
 130 NOTES
 131        DBM database files are platform dependent. DBM database files you
 132        generate on a SPARC machine, for example, do not work on an IA machine
 133        (and vice-versa).
 134 
 135        This script might not resolve all symbolic links.
 136 
 137 
 138 
 139                                November 2, 2000            MAKE_PKG_DB(1ONBLD)