|
|
The installation software database (/var/sadm/install/contents) stores information about all packages and sets installed on the system. Entries for every component of a package or set contain a record of the package to which the component belongs, the component name, where it resides, its type, and a list of other packages that might reference the component. The database also keeps ``attribute information'' (such as the component's access permissions, owner ID, and group ID) and content information (such as the file size and the time of last modification).
The system uses this database to determine if an object is shared by more than one package, to determine if other packages depend on it, or to perform a number of other checks when adding or removing a package or set. When a package or set is installed or removed with the Application Installer (or pkgadd(1M) or pkgrm(1M)), information about it is automatically added to, or removed from, this database.
The installation software database keeps track of the status of packages. A package can be either fully or partially installed (meaning that only a portion of the package was successfully installed). In the latter case, you can remove the portions that were installed, based on the information stored in the installation software database.
You can use the pkginfo(1) command to survey the contents of the installation software database. Use the installf(1M) and removef(1M) commands to modify its contents manually.