增加 SUNWgnome-a11y-libs-share 套裝軟體時,安裝後程序可能會遇到問題。這些問題會影響下列情況:
使用非全域區域與設定整個根區域
使用 Solaris Live Upgrade 從 Solaris 8 或 Solaris 9 發行版本進行升級
從 Solaris 10 1/06 發行版本設定無本地磁碟的用戶端
如果您使用非全域區域並已設定整個根區域,則會出現下列錯誤訊息:
# zoneadm -z wholerootzone install Installation of these packages generated warnings: <SUNWgnome-a11y-libs-share> The file </export/home/wholerootzone/root/var/sadm/system/logs/install_log> contains a log of the zone installation . # |
install_log 會報告下列錯誤:
*** package <SUNWgnome-a11y-libs-share> installed with warnings: cp: cannot access ../../../../../share/jar/gnome-java-bridge.jar pkgadd: ERROR: postinstall script did not complete successfully Installation of <SUNWgnome-a11y-libs-share> on zone <wholerootzone> partially failed. |
如果您使用 Solaris Live Upgrade 從 Solaris 8 或 Solaris 9 發行版本升級,upgrade_log 會報告下列錯誤:
Doing pkgadd of SUNWgnome-a11y-libs-share to /. 15360 blocks /a/var/sadm/pkg/SUNWgnome-a11y-libs-share/install/postinstall: /sbin/zonename: not found Installation of <SUNWgnome-a11y-libs-share> was successful. |
如果您為 Solaris 10 1/06 發行版本設定無本地磁碟的用戶端服務,則所用系統之 /var/sadm/system/logs 中的記錄檔會報告下列錯誤:
Doing pkgadd of SUNWgnome-a11y-libs-share to /export/Solaris_10. 15360 blocks /export/Solaris_10/var/sadm/pkg /SUNWgnome-a11y-libs-share/install/postinstall: /export/Solaris_10/usr/java/jre/lib: does not exist pkgadd: ERROR: postinstall script did not complete successfully Installation of <SUNWgnome-a11y-libs-share> failed. pkgadd return code = 1 |
解決方法:在這三種情況下,都請忽略錯誤訊息。