Chinaunix首页 | 论坛 | 博客
  • 博客访问: 103782637
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类:

2008-04-22 13:33:56

作者: Lisboa  出自:
补丁信息查询
# showrev -p
Patch: 116299-08 Obsoletes: Requires: Incompatibles: Packages: SUNWxsrt, SUNWjaxp, SUNWxrgrt, SUNWxrpcrt
Patch: 116303-02 Obsoletes: Requires: Incompatibles: Packages: SUNWxrpcrt
Patch: 116353-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcjaf, SUNWcjmail

# patchadd -p
Patch: 116299-08 Obsoletes: Requires: Incompatibles: Packages: SUNWxsrt SUNWjaxp SUNWxrgrt SUNWxrpcrt
Patch: 116303-02 Obsoletes: Requires: Incompatibles: Packages: SUNWxrpcrt
Patch: 116353-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcjaf SUNWcjmail

Showrev是二进制程序,patchadd是个脚本。Showrev比patchadd执行速度要快。

实例操作(安装补丁)

1. 下载补丁
Sunsolve.sun.com下载补丁

2. 安装补丁
# chmod +x /tmp/120901-03/*
# patchadd 120901-03
Validating patches…

Loading patches installed on the system…

Done!

Loading patches requested to install.

Done!

Checking patches that you specified for installation.

Done!

Approved patches will be installed in this order:

120901-03

Checking installed patches…
Verifying sufficient filesystem capacity (dry run method)…
Installing patch packages…

Patch 120901-03 has been successfully installed.
See /var/sadm/patch/120901-03/log for details

Patch packages installed:
SUNWcsr
SUNWdtrc
SUNWzoneu
3. 查看新安装的补丁
# patchadd -p |grep 120901-03
Patch: 120901-03 Obsoletes: 121267-01 Requires: Incompatibles: Packages: SUNWcsr SUNWdtrc SUNWzoneu
4. 卸载补丁
# patchrm 120901-03
Validating patches…

Loading patches installed on the system…

Done!

Checking patches that you specified for removal.

Done!

Approved patches will be removed in this order:

120901-03

Checking installed patches…

Backing out patch 120901-03…

Patch 120901-03 has been backed out.
阅读(541) | 评论(0) | 转发(0) |
0

上一篇:Solairs中软件包管理

下一篇:修复Solaris Grub

给主人留下些什么吧!~~