Understanding Patches on Solaris-10

Hi,
From security guy, I was told to install below three patches on Solaris-10 (Sparc) server

  1. 120272-31
  2. 124393-12
  3. 125731-11

Here is output from server -

# showrev -p | grep 120272-31
# showrev -p | grep 120272
Patch: 120011-14 Obsoletes: 116781-02, 117447-01, 117463-05, 118371-10, 118373-01, 118564-03, 118731-01, 118879-02, 118890-03, 118925-05, 118929-05, 119012-03, 119073-03, 119077-10, 119265-02, 119332-01, 119336-01, 119573-02, 119580-05, 119586-02, 119593-01, 119685-11, 119824-02, 119826-02, 119981-09, 119985-02, 119998-02, 120023-01, 120032-04, 120048-03, 120050-06, 120469-07, 120473-12, 120629-08, 120780-04, 120809-01, 120824-09, 120845-05, 120990-02, 120998-02, 121006-02, 121010-06, 121215-01, 121229-02, 121235-01, 121278-01, 121282-02, 121284-02, 121288-03, 121292-01, 121294-01, 121406-01, 121473-01, 121474-01, 121476-01, 121478-01, 121786-01, 121905-01, 122251-01, 122328-01, 122404-01, 122412-01, 122513-02, 122535-01, 122637-01, 122646-02, 122658-04, 122660-10, 122662-05, 122752-04, 123017-01, 123249-02, 123256-02, 123324-03, 123330-01, 123350-01, 123354-03, 123356-02, 123362-01, 123418-02, 123420-02, 123422-03, 123441-05, 123444-01, 123910-03, 123911-01, 123916-05, 123954-01, 124204-04, 124208-01, 124250-03, 124254-04, 124258-07, 124280-01, 124286-01, 124327-04, 124442-01, 124916-03, 124918-02, 124921-02, 124922-03, 124987-02, 124990-01, 124993-01, 124995-01, 125009-01, 125011-01, 125014-03, 125018-02, 125020-01, 125024-01, 125026-01, 125028-03, 125035-01, 125040-01, 125042-02, 125073-01, 125077-03, 125079-01, 125100-10, 125112-01, 125114-01, 125116-02, 125118-01, 125120-03, 125123-01, 125127-01, 125129-01, 125198-02, 125203-01, 125329-03, 125363-06, 125371-01, 125383-01, 125385-02, 125420-01, 125422-01, 125424-01, 125427-01, 125430-01, 125432-01, 125465-02, 125478-01, 125486-01, 125488-02, 125492-01, 125494-02, 125497-01, 125792-01, 125795-01, 126255-01, 126303-02, 126310-01, 126320-01, 126429-01, 126536-01, 126663-01, 126838-01 Requires: 118833-36, 118918-24, 119042-09, 119254-42, 119574-02, 119578-30, 120272-12, 120900-04, 121133-02, 121901-01, 122640-05, 125369-05, 125503-02, 125547-01, 126419-01, 126897-02 Incompatibles:  Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWcnetr, SUNWkvmt200, SUNWkvm, SUNWcart200, SUNWcar, SUNWcakr, SUNWckr, SUNWcsd, SUNWcpcu, SUNWfmd, SUNWperl584core, SUNWesu, SUNWperl584usr, SUNWkrbu, SUNWmdb, SUNWmdbr, SUNWtoo, SUNWpiclu, SUNWcslr, SUNWaudit, SUNWib, SUNWusb, SUNWtavor, SUNWudapltu, SUNWudapltr, SUNWzfskr, SUNWzfsr, SUNWsmapi, SUNWzfsu, SUNWdoc, SUNWuksp, SUNWopenssl-libraries, SUNWwbsup, SUNWses, SUNWssad, SUNWuprl, SUNWusbu, SUNWmdr, SUNWmdu, SUNWintgige, SUNWipfh, SUNWipfr, SUNWipfu, SUNWnfsckr, SUNWnfscu, SUNWvolu, SUNWrcmdc, SUNWscpu, SUNWbcp, SUNWxcu4, SUNWxge, SUNWixgb, SUNWarc, SUNWpl5u, SUNWbtool, SUNWarcr, SUNWnfssu, SUNWdmgtu, SUNWnisu, SUNWypu, SUNWzoner, SUNWatfsu, SUNWpoolr, SUNWpool, SUNWtecla, SUNWzoneu, SUNWauda, SUNWaudh, SUNWbart, SUNWcpc, SUNWiopc, SUNWdtrc, SUNWldomr, SUNWldomu, SUNWust1, SUNWkdcu, SUNWkey, SUNWdfbh, SUNWlibsasl, SUNWlldap, SUNWdtrp, SUNWefcl, SUNWefcr, SUNWerid, SUNWhea, SUNWfss, SUNWsadmi, SUNWftdur, SUNWftduu, SUNWncar, SUNWntpu, SUNWopenssl-include, SUNWqos, SUNWrcapr, SUNWrcapu, SUNWrge, SUNWroute, SUNWsndmr, SUNWsndmu, SUNWsra, SUNWsshcu, SUNWsshdu, SUNWsshu
Patch: 125503-02 Obsoletes:  Requires: 118833-36, 118918-24, 119042-09, 119374-06, 119574-02, 119578-30, 119689-04, 120272-03, 120900-04, 121133-02, 121901-01, 122640-05, 123839-01 Incompatibles:  Packages: SUNWcsr, SUNWcnetr, SUNWipfr
Patch: 120272-17 Obsoletes:  Requires: 119042-09, 121901-01, 122539-05 Incompatibles:  Packages: SUNWbzip, SUNWsmagt, SUNWsmcmd, SUNWsmmgr
Patch: 120272-22 Obsoletes:  Requires: 119042-09, 121901-01, 122539-05 Incompatibles:  Packages: SUNWbzip, SUNWsfwhea, SUNWsmagt, SUNWsmcmd, SUNWsmmgr
Patch: 120272-23 Obsoletes:  Requires: 119042-09, 121901-01, 122539-05 Incompatibles:  Packages: SUNWbzip, SUNWsfwhea, SUNWsmagt, SUNWsmcmd, SUNWsmmgr
Patch: 120272-40 Obsoletes:  Requires: 119042-09, 121901-01, 122539-05 Incompatibles:  Packages: SUNWbzip, SUNWsfwhea, SUNWsmagt, SUNWsmcmd, SUNWsmmgr
#
# showrev -p | grep 124393-12
Patch: 124393-12 Obsoletes: 123507-05 Requires: 119042-09, 119254-51, 121901-01, 122539-04 Incompatibles:  Packages: SUNWdtbas
#
# showrev -p | grep 125731-11
# showrev -p | grep 125731
Patch: 125731-02 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWlxml, SUNWlxsl
Patch: 125731-04 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWlxml, SUNWlxsl
Patch: 125731-13 Obsoletes: 148668-01 Requires:  Incompatibles:  Packages: SUNWlxml, SUNWlxsl
#
  • This means, all 3 patches already installed on server, and we don't need to take any action?
  • If I take example of 120272-31, then I can see 120272-40, but it says ...
 "Patch: 120272-40 Obsoletes:  Requires: 119042-09, 121901-01, 122539-05 Incompatibles:  Packages: SUNWbzip, SUNWsfwhea, SUNWsmagt, SUNWsmcmd, SUNWsmmgr".

What it means, Obsoletes/Incompatibles ?

Thanks

In this case, "obsoletes" has a meaning similar to "supersedes".

Actually, "supersedes" seems like a better word to me; but maybe I missed something.

Correct. No action is necessary.

showrev -p is providing four pieces of information for each patch already installed in your Solaris 10 or older machine.

  • Requires: list of patches that needed to be already installed for this patch to be applied
  • Obsoletes: list of older patches this new patch obsoletes (or supersedes as Neo suggested).
  • Incompatibles: list of future (at the patch creation time) patches that will require this patch removal to be applicable. This field is almost always empty except when interim patches (hot fixes) have been applied.
  • Packages: list of packages this patch applies to, i.e. this patch has modified files belonging to these packages.
4 Likes

Very well defined. Thanks