Here are the errors I was provided:
ERROR: Could not
validate the viability of updating from
B.11.31:HPUX11i-VSE-OE HPUX11i-VSE-OE to HPUX11i-VSE-OE.
ERROR: The script
"/var/adm/sw/pre_update/update_ok.001" returned a value of
"1" (ERROR)
* Running
"/var/adm/sw/pre_update/update_ok.001". failed with 2 errors.
The above errors occur when there are multiple "
HPUX11i-VSE-OE " bundles listed in swlist. To work around this condition you must
remove the older HPUX11i-VSE-OE swlist entry as follows:
- First I would recommend making a tar or other backup of
/var/adm/sw/products, so you can get back to the current state if needed.
- Locate HPUX11i-VSE-OE directories:
#cd /var/adm/sw/products
#ls -d HPUX11i*
Move the older HPUX11i-VSE-OE directory and the /var/adm/sw/products/INDEX
to /tmp.
Example:
# mv
HPUX11i-VSE-OE.2 /tmp
# INDEX /tmp
- Recreate the Installed Products Database
(/var/adm/sw/products/INDEX ).
Create the void.psf file with the following contents:
#cat void.psf
product
tag void
fileset
tag void
Create dummy void product used to rebuild the INDEX file:
#swpackage -s ./ void.psf
#swinstall void
A new INDEX file should now exist.
- Verify that swlist no longer shows duplicate
HPUX11i-VSE-OE listings.
Cleanup:
#swremove void
#rm void.psf
#swremove -d void
The pre_update update_ok.001 script called by update-ux
should no longer error provided swlist shows a single OE listed.
No comments:
Post a Comment