Quote:
Originally Posted by sarvesha
pkgadd or patchadd
Well patchadd was the tool that I used to attempt to install the patch. patchadd calls pkgadd to install a minimal version of the package that's being patched. As part of the backout, the old files are stored as a compressed datastream package in /var/sadm/pkg/SUNWcsl/save/109147-39/undo.Z. The uncompressed undo.Z file is the datastream file.
I was thinking I could pkgadd that undo file and recover from the bad patch but I wasn't able to get pkgadd -R /mnt [path.to.pkg] working. It was trying to update a /var/sadm/... file and that's the mounted CD.
patchrm failed because 109147-39 wasn't completely installed and I couldn't fully install 109147-39 because patchadd -R /mnt [patch] was failing from CD. Again for unknown reasons.
catch-22.
That's why I was going to attempt to manually apply the datastream packages.
I spoke to Sun support yesterday and they admitted there was a problem with 109147-39 but couldn't pin down if our configuration was affected by the problem (the Sun second level support guys weren't familiar with the V440's which didn't help).
Ultimately we restalled the OS yesterday on both systems. I installed all the necessary patches last night excluding 109147-40 (released Monday). Then, with crossed fingers and toes, I installed 109147-40 without issue.
The main problem was how to recover when the tool used to recover wasn't working as expected.
Carl