ESXI升级报错 DependencyError,requires xxx解决方法

将ESXI6.7升级到ESXI7的时候会报错,如

[root@localhost:/vmfs/volumes/5fd49cd9-59acb87c-46f3-bc97e1acb322] esxcli software vib install -d=/vmfs/volumes/5fd49cd9-59acb87c-46f3-bc97e1acb322/ESXi670-202103001.
zip
 [DependencyError]
 VIB QLC_bootbank_scsi-qedil_1.2.12.0-1OEM.600.0.0.2494585 requires qedentv_ver = X.9.17.0, but the requirement cannot be satisfied within the ImageProfile.
 VIB QLC_bootbank_qedf_1.2.49.0-1OEM.600.0.0.2768847 requires qedentv_ver = X.9.17.0, but the requirement cannot be satisfied within the ImageProfile.
 VIB QLC_bootbank_qedrntv_3.9.17.0-1OEM.650.0.0.4598673 requires qedentv_ver = X.9.17.0, but the requirement cannot be satisfied within the ImageProfile.
 Please refer to the log file for more details.
[root@localhost:/vmfs/volumes/5fd49cd9-59acb87c-46f3-bc97e1acb322] 
esxcli software vib update -d /vmfs/volumes/datastore1/patc
h/VMware_ESXi_7.0.0_15843807_HPE_700.0.0.10.5.0.108_April2020_depot.zip
[DependencyError]
VIB QLC_bootbank_qedi_2.10.19.0-1OEM.670.0.0.8169922 requires vmkapi_2_2_0_0, b                                                                                                              ut the requirement cannot be satisfied within the ImageProfile.
VIB QLC_bootbank_qedi_2.10.19.0-1OEM.670.0.0.8169922 requires qedentv_ver = X.1                                                                                                                     1.15.0, but the requirement cannot be satisfied within the ImageProfile.
VIB QLC_bootbank_qedf_1.3.41.0-1OEM.600.0.0.2768847 requires qedentv_ver = X.11                                                                                                                     .15.0, but the requirement cannot be satisfied within the ImageProfile.
VIB HPE_bootbank_scsi-hpdsa_5.5.0.68-1OEM.550.0.0.1331820 requires com.vmware.d                                                                                                                     riverAPI-9.2.2.0, but the requirement cannot be satisfied within the ImageProfil                                                                                                                     e.
VIB HPE_bootbank_scsi-hpdsa_5.5.0.68-1OEM.550.0.0.1331820 requires vmkapi_2_2_0                                                                                                                     _0, but the requirement cannot be satisfied within the ImageProfile.

VIB QLC_bootbank_qfle3f_1.0.75.0-1OEM.670.0.0.8169922 requires vmkapi_2_2_0_0,                                                                                                                      but the requirement cannot be satisfied within the ImageProfile.

VIB QLC_bootbank_qedf_1.3.41.0-1OEM.600.0.0.2768847 requires vmkapi_2_3_0_0, bu                                                                                                                     t the requirement cannot be satisfied within the ImageProfile.

VIB QLC_bootbank_qedf_1.3.41.0-1OEM.600.0.0.2768847 requires vmkapi_2_2_0_0, bu                                                                                                                     t the requirement cannot be satisfied within the ImageProfile.

Please refer to the log file for more details.

1、按照vmware的kb

https://kb.vmware.com/s/article/78487

使用OEM版本和VMware发行版本互相升级可能会报错,

使用命令剔除需要依赖的包

esxcli software profile update -d "depot index.xml URL" or "path to offline-bundle .zip file" -p name_of_the_image_profile --dry-run

例如QLC_bootbank_scsi-qedil

esxcli software profile update -d "path to offline-bundle .zip file" -p QLC_bootbank_scsi-qedil_1.2.12.0-1OEM.600.0.0.2494585 --dry-run
esxcli software profile update -d "path to offline-bundle .zip file" -p QLC_bootbank_qedrntv_3.9.17.0-1OEM.650.0.0.4598673 --dry-run
esxcli software profile update -d "path to offline-bundle .zip file" -p QLC_bootbank_qedf_1.2.49.0-1OEM.600.0.0.2768847 --dry-run

2、直接删除当前包

esxcli software vib remove -n qfle3f
esxcli software vib remove -n scsi-qedil
esxcli software vib remove -n qedf

再执行命令升级

esxcli software profile update -d  "path to offline-bundle .zip file"

版权声明:
作者:佛西
链接:https://foxi.buduanwang.vip/virtualization/vmware/967.html/
来源:佛西博客
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>