Go to main content

Updating Systems and Adding Software in Oracle® Solaris 11.4

Exit Print View

Updated: August 2018
 
 

Removing IDRs

In most cases, you should not explicitly remove an IDR because this leaves your system vulnerable to the issue that the IDR addresses. The IDR should be removed as part of the process of updating to the SRU that includes the fix for the issue that the IDR addresses.

One case when you could explicitly remove an IDR is when the IDR performs only diagnostic work and you no longer need to gather that diagnostic information.

How to Remove an IDR

  1. Check the IDR package summary for package removal instructions.

    The IDR package summary includes instructions for how to remove this package.

    For older IDRs, two sets of instructions are given: one command for systems that are running Oracle Solaris 11.2 SRU 10 or greater, and a different command for systems that are running an Oracle Solaris 11.2 release earlier than SRU 10.

    The info, contents, and search subcommands can all show the package summary.

    • pkg info
      $ pkg info idr1929
         Name: idr1929
      Summary: To back out This IDR : # /usr/bin/pkg uninstall -r idr1929;
      on Solaris systems < 11.2 SRU 10 : # /usr/bin/pkg update --ignore-missing -r 
      --reject idr1929 pkg:/system/install/media/internal@0.5.11,5.11-0.175.2.9.0.3.2:20150321T014312Z
      ...
    • pkg contents
      $ pkg contents -Ho value -a name=pkg.summary idr1929
    • pkg search
      $ pkg search -Hlo value idr1929::pkg.summary:

    For newer IDRs, one set of instructions is given:

    $ pkg search -Hlo value idr2353::pkg.summary:
    To back out This IDR : # /usr/bin/pkg uninstall -r idr2353

    You can also use the command shown in Example 15, Show the Location of the Release Notes for an IDR to view this information in the installed release notes file.

  2. Run the appropriate command to remove the IDR package.
    • Oracle Solaris 11.2 SRU 10 or greater.

      On systems that are running Oracle Solaris 11.2 SRU 10 or greater, including Oracle Solaris 11.4, use the pkg uninstall command as shown in the following example:

      $ pkg uninstall -r idr1929

      The -r option performs the removal in all non-global zones associated with this global zone.

    • Older Oracle Solaris 11.2 systems.

      On systems that are running an Oracle Solaris 11.2 release earlier than SRU 10, use the pkg update command as shown in the following example:

      $ pkg update -r --ignore-missing --reject idr1929 \
      pkg:/system/install/media/internal@0.5.11,5.11-0.175.2.9.0.3.2:20150321T014312Z

      The -r option performs the removal in all non-global zones associated with this global zone.

      The --ignore-missing option means do not fail the update operation if some of the packages to be updated are not installed.

      The --reject option removes the package that was installed by the IDR package.