If you don't use Automated Installer, you can safely ignore
this message.

Fix for bug 7415 introduced support in Automated Installer (AI)
for removing packages from installed system. Without this fix
slim_install cluster was left on the system which was installed
using AI which prevented pkg(5) from being able to remove any
package from system - if you tried, you could see following
message:

# pkg uninstall SUNWgui-install
Creating Plan /pkg: Cannot remove 
'pkg:/SUNWgui-install at 0.5.11,5.11-0.110:20090320T181314Z' due to
the following packages that depend on it:
  pkg:/slim_install at 0.1,5.11-0.110:20090320T190212Z
#

Fix for 7415 introduced new tag in AI manifest for specifying
list of packages to be removed and changed tag defining list
of packages to be installed in order to follow consistent naming
scheme.

If you would like to take advantage of the fix, you need to
use AI server tools and AI image based on build 111 or later
and new AI manifest.

Summary of changes:
-------------------

[1] <ai_uninstall_packages> tag was introduced - it defines
   list of packages to be removed from installed system.

   It is optional - if this tag is omitted in AI manifest,
   no package will be removed.

[2] tag <ai_install_packages> was introduced - it defines
   list of packages to be installed from installed system.

   It is mandatory - if not specified, AI client fails -
   please see [6] for details.

[3] AI manifest in old format will continue to be accepted
    by AI server tools in order to allow installation using
    older AI images. Also, new AI images will continue to be
    able to process old manifest for the time being.

    That said, it is strongly recommended to use new format
    of AI manifest, if image based on build 111 or later is used.
    Support for old manifest format might be discontinued at any
    time in future.

[4] in order to provide user with better insight what's behind
    the scenes and consolidate Distribution Constructor and
    Automated Installer approaches, default AI manifest now contains
    sections with list of packages to be installed and removed
    in following format:

...
<ai_install_packages>
    <pkg name="SUNWcsd"/>
    <pkg name="SUNWcs"/>
    <pkg name="babel_install"/>
    <pkg name="entire"/>
</ai_install_packages>
<ai_uninstall_packages>
    <pkg name="babel_install"/>
    <pkg name="slim_install"/>
</ai_uninstall_packages>
...

   Section of packages to be installed is mandatory, section
   of packages to be removed is optional.

[5] Part of this change is switching to babel_install cluster
    instead of slim_install.

[6] AI client does syntactic validation of provided AI manifest.
    If format of manifest is invalid, following messages are displayed
    on console:

Invalid or incompatible manifest provided
Please refer to /var/svc/log/application-auto-installer:default.log file for 
details

    And auto-installer SMF service then goes into 'maintenance' mode.


Links:
------
* XML schema defining new AI manifest:
http://src.opensolaris.org/source/xref/caiman/slim_source/usr/src/cmd/auto-install/ai_manifest.rng

* new default.xml AI manifest
http://src.opensolaris.org/source/xref/caiman/slim_source/usr/src/cmd/ai-webserver/default.xml


Reply via email to