Sun N1 System Manager 1.3.1 Troubleshooting Guide

OS Update Uninstall on a Managed Server Fails

If you cannot uninstall an OS update that was installed on a managed server using an adminfile, the package file name does not match the name of the package. Log in to the managed server and use the pkginfo command to display the package name, and compare the package name to the name of the package file.

For example:


# ls package file name 
   package-file-name
   # pkginfo -d ./package-file-name 
   application package-name     package-information
   # pkginfo -d ./package-name | /usr/bin/awk '{print $2}'
   package-name
---
   # cp package-file-name new-file-name
   # pkginfo -d ./new-file-name 
   application package-name     package-information
   5# pkginfo -d ./new-file-name | /usr/bin/awk '{print $2}'
   package-name
   

If the name of the package file is not the same as the package name , rename the adminfile in the manageable server's /tmp directory to match the name of the package and try the unload command again. If the package still exists, remove it from the manageable server by using pkgrm.