如果使用 patchadd 命令以便从另一个系统通过 NFS 安装修补程序,则该命令失败。下例显示失败的 patchadd 操作及其所显示的错误消息:
Validating patches... Loading patches installed on the system... [...] Loading patches requested to install. [...] Checking patches that you specified for installation. [...] Approved patches will be installed in this order: [...] Checking local zones... [...] Summary for zones: [...] Patches that passed the dependency check: [...] Patching global zone Adding patches... Checking installed patches... Verifying sufficient filesystem capacity (dry run method)... Installing patch packages... Patch Patch_ID has been successfully installed. See /var/sadm/patch/Patch_ID/log for details Patch packages installed: SUNWroute [...] Adding patches... The patch directory /dev/.SUNW_patches_0111105334-1230284-00004de14dcb29c7 cannot be found on this system. [...] Patchadd is terminating. |
解决方法:首先将要安装的所有修补程序从 NFS 服务器手动复制到本地系统。然后,使用 patchadd 命令,从已将修补程序复制到其中的本地系统的目录中安装修补程序。