How to remove a product from the software database

From Wiki-UX.info
Jump to: navigation, search

Abstract

Software selection (bundle.product.subproduct.files) may need to be manually removed from the SD-UX software database (/var/adm/sw) due to inconsistencies with the database and the physical files.

Backup the software database

# fbackup -0vi /var/adm/sw /var/tmp/sw.fbackup

Check the software selection

# swlist PHCO_37483
# Initializing...
# Contacting target "delta"...
#
# Target:  delta:/
#

# PHCO_37483                            1.0            scsimgr cumulative patch
  PHCO_37483.ADMN-ENG-A-MAN             1.0            OS-Core.ADMN-ENG-A-MAN
  PHCO_37483.CORE2-SHLIBS               1.0            OS-Core.CORE2-SHLIBS
  PHCO_37483.UX-CORE                    1.0            OS-Core.UX-CORE
  PHCO_37483.UX2-CORE                   1.0            OS-Core.UX2-CORE

Remove the software selection

# swmodify -u PHCO_37483.\* PHCO_37483

Check the software database

# swlist PHCO_37483
# Initializing...
# Contacting target "delta"...
ERROR:   Software "PHCO_37483" was not found on host "delta:/".

Reference

Authors