Saturday, January 29, 2011

Fixing broken fileset in AIX

axxxx@xxxxxxx)lppchk -v
lppchk:  The following filesets need to be installed or corrected to bring the system to a consistent state:
openssh.license 4.1.0.5300              (BROKEN)
In order to fix this you'll need to get the base level of the
'openssh.license' fileset and run a force overwrite.
# installp -acFNXYd <device or directory location> openssh.license
This will reinstall the fileset in the committed state and remove the
broken status.


broken X11.base.lib fileset in the Broken state
after 6100-02 to 6100-04 update.
Action Taken : we had the base 6100-04 version.
# installp -acFNXYd . X11.base.rte  -> success
# lppchk -v  -> clean
# oslevel -s  -> 6100-04-01


To correct your phantom fileset problem, please run the following :
$ export ODMDIR=/usr/lib/objrepos
$ odmdelete -q lpp_name="http_server.base.source" -o product
 ==> It should answer "1 object deleted".
Then set back the odm dir to default :
$ export ODMDIR=/etc/objrepos

1 comment:

  1. This looks like a great tip!
    Is a similar method available to fix bos.adt.include 5.3.0.55 fileset (the AIX 5.3.00-05 system is missing the /usr/include/sys/proc.h file)?

    Thanks,
    Dan S.

    ReplyDelete