grok.org.uk:/#

showrev(1M) missing on Solaris 8

Published: 27th June 2001 | Originally published at netsys.com

How to restore the showrev(1M) command after a core Solaris 8 installation, including the additional package dependencies required for correct operation.

Introduction

If you find yourself without the showrev(1M) command after a core install, then here's how to get it back. The command itself is part of the SUNWadmc package, but it also requires libadmapm.so.2 and related libraries from the SUNWadmfw package.

Local Installation

If you have your installation CDs to hand and are working on a local machine, installation should be as trivial as running:

pkgadd -d /cdrom/cdrom0/s2/Solaris_8/Product SUNWadmc SUNWadmfw

Remote Installation

In the case of a remote install, simply spool the packages off a local system:

pkgadd -s /tmp/SUNWadmc -d /cdrom/cdrom0/s2/Solaris_8/Product SUNWadmc
pkgadd -s /tmp/SUNWadmfw -d /cdrom/cdrom0/s2/Solaris_8/Product SUNWadmfw

Then transfer them to the remote host and execute:

pkgadd -d SUNWadmc
pkgadd -d SUNWadmfw

from the directory containing the spooled packages.

Notes and Dependencies

Incidentally, this program is also required for Sun's patchdiag tool to function correctly.

NB: Astute reader Dr David Kirby pointed out that there are additional dependencies such as SUNWcsl and SUNWlibC. These packages are required for dynamic library support and the C runtime library itself.

Using ldd(1) from the SUNWtoo package is ideal for troubleshooting in this situation.

John Cartwright <johnc@grok.org.uk>