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:
Become superuser.
Change to the /usr/sadm/lib/localeadm/ directory.
Open the Locale_config_S9.txt file.
Search for an instance of UNWhjmfp that is not preceded by the letter S.
Change this text from UNWhjmfp to SUNWhjmfp.
Install the Traditional Chinese locales.
# localeadm -a zh_tw path_to_image
Alternatively, apply the following patches depending on your system's platform:
Patch ID 117590-04 or higher for SPARC based systems
Patch ID 117591-04 or higher for x86 based systems