Displaying Package Description, When Packaged and Installed, and Full FMRI
You can use the pkg list -s
command to show the package summary.
$ pkg list -s entire
NAME (PUBLISHER) SUMMARY
entire Incorporation to lock all system packages to the same build
The pkg list -v
command lists the full package FMRI.
$ pkg list -v entire
FMRI IFO
pkg://solaris/entire@11.4-11.4.0.0.1.10.0:20180702T173343Z i--
The pkg info
command displays more information, including the time the package was packaged and the size of the package. In this example, the State of the pkg info
output shows that this package is frozen:
$ pkg info entire
Name: entire
Summary: Incorporation to lock all system packages to the same build
Description: This package constrains system package versions to the same
build. WARNING: Proper system update and correct package
selection depend on the presence of this incorporation.
Removing this package will result in an unsupported system.
Category: Meta Packages/Incorporations
State: Installed (Frozen)
Publisher: solaris
Version: 11.4 (Oracle Solaris 11.4.0.0.1.10.0)
Branch: 11.4.0.0.1.10.0
Packaging Date: Mon Jul 02 17:33:43 2018
Size: 2.53 kB
FMRI: pkg://solaris/entire@11.4-11.4.0.0.1.10.0:20180702T173343Z
If the information is available, the pkg info
command displays the last time the package was installed or updated. If the last install or update time is not available from pkg info
, the package might have been installed when this BE was initially created. In that case, use the BE creation date shown by the beadm list
command. You can also use the pkg history
command as described in Viewing Operation History to find all package install, update, and uninstall times.
The following output shows the last install time for the package:
$ pkg info mercurial-27
Name: developer/versioning/mercurial-27
Summary: The Mercurial Source Control Management System
Description: A fast, lightweight source control management system designed
for efficient handling of very large distributed projects.
Category: Development/Source Code Management
State: Installed
Publisher: solaris
Version: 4.1.3
Branch: 11.4.0.0.1.10.0
Packaging Date: Mon Jul 02 16:32:13 2018
Last Install Time: Mon Aug 06 15:22:47 2018
Size: 9.90 MB
FMRI: pkg://solaris/developer/versioning/mercurial-27@4.1.3-11.4.0.0.1.10.0:20180702T163213Z
Project URL: http://mercurial-scm.org/
Source URL: https://www.mercurial-scm.org/release/mercurial-4.1.3.tar.gz
As shown in Renamed, Legacy, and Obsolete Packages, you can use the pkg info
command to find the new name of a renamed package. The State line of the pkg info
output also shows whether the package is frozen.