阅 读 文 章

如何给Solaris打补丁

[来源:网上转载 () | 作者:网友() | 时间:2007-07-07 | 浏览:人次 ]



3.5 安装PATCH过程中出现的问题

在安装补丁的过程中,经常出现一些错误提示。例如:

Installation of 123456-11 failed. Return code 2

通过Return code我们可以知道错误类型。需要注意的是,Return code 2说明此补丁已被安装,Return code 8说明此补丁要修复的软件没有被系统安装。因此,2和8是完全可以被忽略的错误提示。下表说明了各个Return code对应的错误类型。

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 < tr>

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

Reference:

1.Solaris™8 Operating Environment System Administration I, (SA-238)

2.System Administration Guide, Volume 1, (805-7228),Solaris

3.SunSolve Patch Support Portal   http://sunsolve.sun.com/pub-cgi/show.pl?target=patchpage#

论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 补丁 如何 安装 patch Patch 文件 可以 目录 solaris

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.