O'Reilly logo

Solaris™ 8 Advanced System Administrator's Guide, Third Edition by Janice Winsor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Checking the Installation of a Package

You can use the pkgchk command to check the completeness, specific path name, file contents, and file attributes of an installed package.

The pkgchk command has the following syntax.

pkgchk pkgid
					

For example, to check the package SUNWman, the online manual pages, type pkgchk SUNWman and press Return. If the prompt comes up without any messages, the package has installed properly.

oak% pkgchk SUNWman
oak%

If you do get messages, however, the package has not installed properly, as shown in the following example.

oak% pkgchk SUNWssoft
WARNING: no pathnames were associated with <SUNWssoft>
oak%

NOTE

pkgchk ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required