Time for Sun to retire smpatch


Ugh – I went to patch my machines today, and it looks like the smpatch(1m) utility is broken again:

Nov 25 17:18:50 tigger root: [ID 702911 user.crit] => com.sun.patchpro.interpreter.PatchListExpressionTree@128635 <=Internal error within exression Interpreter...
Nov 25 17:18:50 tigger root: [ID 702911 user.crit] => com.sun.patchpro.interpreter.PatchListExpressionTree@128635 <=com.sun.patchpro.interpreter.ParseException: Encountered "haspackage " SUNWust1 11.10.0,REV=2005.08.10.02.13" at line 1, column 2.
Nov 25 17:18:50 tigger Was expecting one of:
Nov 25 17:18:50 tigger "n" ...
Nov 25 17:18:50 tigger ...
Nov 25 17:18:50 tigger ...
Nov 25 17:18:50 tigger root: [ID 702911 user.crit] => com.sun.patchpro.interpreter.PatchListExpressionTree@128635 <= "haspackage" ...
Nov 25 17:18:50 tigger "haspackage" """ """ ...
Nov 25 17:18:50 tigger "haspatch" ...
Nov 25 17:18:50 tigger "hasexactpatch" ...
Nov 25 17:18:50 tigger "haspatchbasecode" ...
Nov 25 17:18:50 tigger root: [ID 702911 user.crit] => com.sun.patchpro.interpreter.PatchListExpressionTree@128635 <= "isosname" ...
Nov 25 17:18:50 tigger "isosversion" ...
Nov 25 17:18:50 tigger "isplatform" ...
Nov 25 17:18:50 tigger "isarchitecture" ...
Nov 25 17:18:50 tigger "hasrealization" ...
Nov 25 17:18:50 tigger root: [ID 702911 user.crit] => com.sun.patchpro.interpreter.PatchListExpressionTree@128635 <= "hasexactrealization" ...

I appreciate what Sun is trying to do with this utility, but it is causing users and administrators a lot of pain. If anyone from Sun is reading this, can you please revert back to Recommended patch clusters until smpatch is permanently fixed?

This article was posted by Matty on 2005-11-25 18:26:00 -0400 -0400