lppchk showing old filesets as broken

If you notice output like this from lppchk :

Path: /usr/lib/objrepos
  devices.common.IBM.iscsi.rte
                             5.3.0.0  COMMITTED  Common iSCSI Files
                            5.3.0.31  APPLIED    Common iSCSI Files

Path: /etc/objrepos
  devices.common.IBM.iscsi.rte
                            5.2.0.51  COMMITTED  Common iSCSI Files
  devices.common.IBM.iscsi.rte
                            5.3.0.30  APPLIED    Common iSCSI Files
  devices.common.IBM.iscsi.rte
                            5.3.0.31  APPLIED    Common iSCSI Files

follow this procedure to repair it:

tar -cvf /tmp/odm.xx.tar /etc/objrepos and /usr/lib/objrepos

1. odmget -q name=devices.common.IBM.iscsi.rte lpp

output will show lpp_id. remember that one

2. odmdelete -q name=filesetname.rte -o lpp
3. odmdelete -q lpp_name=filesetname.rte -o product
4. odmdelete -q lpp_id=”X” -o history
5. odmdelete -q lpp_id=”X” -o inventory

Then reinstall the base fileset with Force-Flag and update it till the wanted TL is installed.

With this the lppchk -v will show no error with the filesets.

Advertisements
This entry was posted in aix and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.