免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2020 | 回复: 4
打印 上一主题 下一主题

Solaris 补丁返回代码含义(转) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-25 15:16 |只看该作者 |倒序浏览
呵呵,一个与补丁返回代码有关的东东,
在网上不小心找到的,
希望对大家有用啊!

Solaris Patch Return Codes

When adding patched to a solaris box you sometime get these error messages esp. 2 and 8 and sometimes 5 and 25. Here's what the all mean.

Exit code Meaning
0  No error
1  Usage error
2  Attempt to apply a patch that's already been applied
3  Effective UID is not root
4  Attempt to save original files failed
5  pkgadd failed
6  Patch is obsoleted
7  Invalid package directory
8  Attempting to patch a package that is not installed
9  Cannot access /usr/sbin/pkgadd (client problem)
10 Package validation errors
11 Error adding patch to root template
12 Patch script terminated due to signal
13 Symbolic link included in patch
14 NOT USED
15 The prepatch script had a return code other than 0.
16 The postpatch script had a return code other than 0.
17 Mismatch of the -d option between a previous patch install and the current one.
18 Not enough space in the file systems that are targets of the patch.
19 $SOFTINFO/INST_RELEASE file not found
20 A direct instance patch was required but not found
21 The required patches have not been installed on the manager
22 A progressive instance patch was required but not found
23 A restricted patch is already applied to the package
24 An incompatible patch is applied
25 A required patch is not applied
26 The user specified backout data can't be found
27 The relative directory supplied can't be found
28 A pkginfo file is corrupt or missing
29 Bad patch ID format
30 Dryrun failure(s)
31 Path given for -C option is invalid
32 Must be running Solaris 2.6 or greater
33 Bad formatted patch file or patch file not found
34 The appropriate kernel jumbo patch needs to be installed
35 Later revision already installed

论坛徽章:
0
2 [报告]
发表于 2003-02-25 18:05 |只看该作者

Solaris 补丁返回代码含义(转)

呵呵,太棒了,我正要找这个呢!

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
3 [报告]
发表于 2003-02-26 03:45 |只看该作者

Solaris 补丁返回代码含义(转)

啊就好!

论坛徽章:
0
4 [报告]
发表于 2003-02-26 09:34 |只看该作者

Solaris 补丁返回代码含义(转)

哈哈,昨天以为大家都用不上,正伤心呢!
能用就好,呵呵!

论坛徽章:
0
5 [报告]
发表于 2003-02-26 11:10 |只看该作者

Solaris 补丁返回代码含义(转)

more /usr/sbin/patchadd
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP