Solaris 9 9/04 Release Notes

Locale Administrator Tool Does Not Install Traditional Chinese Locales Properly (5032377)

The locale administrator tool does not completely install Traditional Chinese locales on the system. The error occurs because the tool fails to install the SUNWhjmfp package. For example, you type the following command:

# localeadm -a zh_tw path_to_image

While installing the SUNWhjmfp package, the locale administrator tool stops processing. The following error message is displayed:


pkgadd: ERROR: no package associated with UNWhjmfp>
There was an error adding package UNWhjmfp to the system.

Workaround: Before adding the Traditional Chinese locales, perform the following steps:

  1. Become superuser.

  2. Change to the /usr/sadm/lib/localeadm/ directory.

  3. Open the Locale_config_S9.txt file.

  4. Search for an instance of UNWhjmfp that is not preceded by the letter S.

  5. Change this text from UNWhjmfp to SUNWhjmfp.

  6. Install the Traditional Chinese locales.

    # localeadm -a zh_tw path_to_image

Alternatively, apply the following patches depending on your system's platform: