如果您從另一個系統使用 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 指令從複製修補程式之本機上的目錄安裝修補程式。