给一个AIX 7.1 升级,要升级到 7.1 TL3 SP6, 但是升级完了还是系统版本不对。真让我头晕。
-
-bash-4.3# oslevel -s
-
7100-03-04-1441
-
-bash-4.3# oslevel -sq
-
Known Service Packs
-
-------------------
-
7100-03-06-1543
-
7100-03-05-1524
-
7100-03-04-1441
-
7100-03-03-1415
-
7100-03-02-1412
-
7100-03-01-1341
-
7100-03-00-0000
-
7100-02-07-1524
到底是什么引起了这个问题呢?就是这个Java6_sdk.了
-
-bash-4.3# oslevel -s -l 7100-03-06-1543
-
Fileset Actual Level Service Pack Level
-
-----------------------------------------------------------------------------
-
Java6.sdk 6.0.0.445 6.0.0.471
怎么找出来问题到底出在哪里呢?
-
-bash-4.3# lppchk -v
-
lppchk: The following filesets need to be installed or corrected to bring
-
the system to a consistent state:
-
-
Java6.sdk 6.0.0.471 (BROKEN)
我这里有好多的java, 但是6.0.0.471 居然状态是broken.
-
-bash-4.3# lslpp -hac |grep -i java
-
/usr/lib/objrepos:Java5.sdk:5.0.0.570::COMMIT:COMPLETE:08/23/16:01;::APPLY:COMPLETE:08/23/16:09;54;26
-
/etc/objrepos:Java6.sdk:6.0.0.445::COMMIT:COMPLETE:08/23/16:01;35;12
-
/etc/objrepos:Java6.sdk:6.0.0.445::APPLY:COMPLETE:08/23/16:01;35;12
怎么搞这个broken呢?参考这个,太牛了
-
export ODMDIR=/usr/lib/objrepos
-
odmget -q "name=Java6.sdk and state=7" product
-
odmget -q "name=Java6.sdk and state=7" product > file
修改file文件
-
state修改成5
-
fix修改成445
-
odmchange -o product -q "name=Java5.sdk and state=7" file
-
export ODMDIR=/etc/objrepos
这样lslpp -l Java6.sdk 就能看到都是commited 状态。
然后我再来安装 Java6.sdk 的 6.0.0.471,说白了就是一个bff 文件。
U867574.bff ,重新update 一下就好,oslevel -s 就正常了。
-
inutoc fixs
-
smit update_all
阅读(2295) | 评论(0) | 转发(1) |