Solaris 9 和 Solaris 9 9/02 亚洲语言软件包中的 preremove 脚本软件在使用磁盘空间重分配 (DSR) 进行升级时不能正确执行。如果您试图升级到 Solaris 操作环境的更新的发行版,/var/sadm/system/logs/update_log 文件中将显示以下错误信息。
Removing package SUNWkwbcp: /a/var/sadm/pkg/SUNWkwbcp/install/preremove: /a/usr/4lib: does not exist pkgrm: ERROR: preremove script did not complete successfully Removal of SUNWkwbcp failed. pkgrm return code = 1 Removing package SUNWkbcp: /a/var/sadm/pkg/SUNWkbcp/install/preremove: /a/usr/4lib: does not exist pkgrm: ERROR: preremove script did not complete successfully Removal of SUNWkbcp failed. pkgrm return code = 1 Removing package SUNWcwbcp: /a/var/sadm/pkg/SUNWcwbcp/install/preremove: /a/usr/4lib: does not exist pkgrm: ERROR: preremove script did not complete successfully Removal of SUNWcwbcp failed. pkgrm return code = 1 Removing package SUNWcbcp: /a/var/sadm/pkg/SUNWcbcp/install/preremove: /a/usr/4lib: does not exist pkgrm: ERROR: preremove script did not complete successfully Removal of SUNWcbcp failed. pkgrm return code = 1 Removing package SUNWhwbcp: /a/var/sadm/pkg/SUNWhwbcp/install/preremove: /a/usr/4lib: does not exist pkgrm: ERROR: preremove script did not complete successfully Removal of SUNWhwbcp failed. pkgrm return code = 1 Removing package SUNWhbcp: /a/var/sadm/pkg/SUNWhbcp/install/preremove: /a/usr/4lib: does not exist pkgrm: ERROR: preremove script did not complete successfully Removal of SUNWhbcp failed. pkgrm return code = 1 |
解决方法:忽略此错误信息。