由于曝出漏洞(CVE-2017-3248)需要将weblogic补丁更新至B25A,但是出现报错。如下:
Conflict(s) detected - resolve conflict condition and execute patch installation again
Conflict condition details follow:
Patch B25A is mutually exclusive and cannot coexist with patch(es): UIAL
看意思是B25A与之前安装的UIAL补丁相冲突,那么先卸载UIAL再安装B25A即可;其他补丁同样冲突一样先卸载旧补丁再装新补丁即可(bsu.sh参数可通过./bsu.sh -help查看):
./bsu.sh -remove -verbose -patchlist=UIAL -prod_dir=/weblogic/wlserver_10./ ./bsu.sh -install -verbose -patch_download_dir=/weblogic/utils/bsu/cache_dir/ -patchlist=B25A -prod_dir=/weblogic/wlserver_10./
如果与多个补丁冲突,虽然参数叫-patchlist但是并不建议一次写多个补丁进行卸载;一是因为一起卸载并不比分开卸载省时间,二是因为这多个补丁间往往有先后依赖关系如果检测有先后关系则bsu只会提醒你得先卸载哪个补丁后径直退出这样只会让你白白浪费漫长的冲突检测时间。如下就是说得先卸载ZLNA这个补丁才能卸载其他补丁(不要以为你把ZLNA写前面他就会自动先卸载ZLNA):
[weblogic@ls bsu]$ ./bsu.sh -remove -verbose -patchlist=ZLNA,EJUW -prod_dir=/weblogic/bea/wlserver_10./
Checking for conflicts......................
Conflict(s) detected - resolve conflict condition and execute patch removal again
Conflict condition details follow:
The selected patch cannot be removed until the following patch(es) are removed first: ZLNA