From: Leslie Connally (lesliec@theplanet.com)
Date: Sat Aug 03 2002 - 13:09:57 EDT
SUMAMRY: Sol 8 MU7 Patch Issue
In two words: "Its broke"
[thanks to google for the solution]
subroutine checks for exact patch, not required _or newer_! Below is the
offending code.
Solution: copy install_mu script to harddrive and fix it as desired. (It
will run fine from HD, if CD mounted to
"/cdrom/s8_maintenance_update_7_sparc" or patch directory changed). I just
nuked the last numeral, as I know it was correctly patched
(patchSparc="108987-0"). A more elegant fix would be proper regex. Faster
fix would be with sed?
Les Connally
lesliec@theplanet.com
(MU7 patchcheck error)
#################### verify_patch_patch 4470489 #######
#
# Description : Introduced into MU7 as there is a patchdb
# corruption issue and the patch thats required
# to fix it has not yet been released
#
#
# Parameters : None
#
# Globals Used : PATCHDIR PATCHADD PKGDBARG MU_PLATFORM
#
# Globals Set :
#
function verify_patch_patch {
patchSparc="108987-08"
patchX86="108988-08"
fgrepSparc="112396-01"
fgrepX86="112397-01"
failedPatchCheck=""
fail=0
# Check for patchadd patch
if [ $MU_PLATFORM = "sparc" ]
then
patchAdep=$patchSparc
elif [ $MU_PLATFORM = "i386" ]
then
patchAdep=$patchX86
fi
$PATCHADD $PKGDBARG -p | grep $patchAdep >>/dev/null
if [ $? != 0 ]
then
failedPatchCheck="$patchAdep"
fail=1
fi
# Check for fgrep patches
if [ $MU_PLATFORM = "sparc" ]
then
patchAdep=$fgrepSparc
elif [ $MU_PLATFORM = "i386" ]
then
patchAdep=$fgrepX86
fi
$PATCHADD $PKGDBARG -p | grep $patchAdep >>/dev/null
if [ $? != 0 ]
then
failedPatchCheck="$failedPatchCheck $patchAdep"
fail=1
fi
if [ $fail = 1 ]
then
$GETTEXT "\n\n**************************************************
*************\n"
$GETTEXT "* Patch(es) $failedPatchCheck not installed - ex
iting. \n"
$GETTEXT "* ------------------------------------------------
----------- \n"
$GETTEXT "* these are mandatory patch(es) for Solaris 8 MU7
($MU_PLATFORM) as \n"
$GETTEXT "* they resolve some patch database corruption issu
es. Please \n"
$GETTEXT "* install the patch(es) before applying the Mainte
nance Update. \n"
$GETTEXT "* The patch(es) may be obtained via SunSolve or yo
ur normal patch \n"
$GETTEXT "* distribution channels.
\n"
$GETTEXT "**************************************************
*************\n\n"
exit 28
fi
}
***
original posting:
I was attempting to install the Sol 8 MU7, and it complained I was missing
and it required:
Patch(es) 108987-08 112396-01 not installed - exiting.
* -----------------------------------------------------------
* these are mandatory patch(es) for Solaris 8 MU7 (sparc) as
* they resolve some patch database corruption issues....
I went to Sun and searched for them and was directed to:
108987-09 and 112396-02
which I successfully installed.
Of course.. Sol8 MU7 __still_ complains:
Patch(es) 108987-08 112396-01 not installed - exiting.
..-09 and ..-02 are apparently not adequate?
any ideas?
Les Connally
lesliec@theplanet.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:42 EDT