The commands pkgrm or pkgadd may error with "ERROR: unable to open admin file default" (Doc ID 1001542.1)

Last updated on JULY 20, 2011

Applies to:

Solaris SPARC Operating System - Version: 8.0 and later   [Release: 8.0 and later ]
All Platforms

Symptoms

PACKAGES: pkgrm or pkgadd may error with "ERROR: unable to open admin file "

Using the pkgrm command to remove a package from the system fails with the error:

#pkgrm SUNWman
pkgrm: ERROR: unable to open admin file

# pkgrm
pkgrm: ERROR: unable to open admin file

Note: The pkgrm command used without any arguments will generate a list of all
packages on the system from which specific packages can be selected.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms