VMware Cloud Community
PBSDVMuser
Contributor
Contributor

Dependency error on patching with 'esxcli software vib' command

I got 'DepencencyError' when applying a new patch downloaded from VMware patch list.

patch_error.png

Can anyone help?

TIA

0 Kudos
5 Replies
amohammadimir
Hot Shot
Hot Shot

Use profile update commands:

To get a list of available profiles within a path use the command below:

esxcli software sources profile list -d <location of ZIP file>

example: esxcli software sources profile list -d /vmfs/volumes/datastore1/update-from-esxi6.7-6.7_update02.zip

Then, run this command to update the host:

esxcli software profile update - p <profile name> -d <location of ZIP file> -f

example: esxcli software profile update -d /vmfs/volumes/datastore1/update-from-esxi6.7-6.7_update02.zip -p ESXi-6.7.0-20190402001-standard -f

Please remember to mark the replies as answers if they helped.
nachogonzalez
Commander
Commander

hope you are doing fine:

Please check this out VMware Knowledge Base

0 Kudos
PBSDVMuser
Contributor
Contributor

Thank you guys for replying!

Unfortunately our existing install is not a standard vendor one - we tweaked (customized)  the installer so the profile names are different

Here is 'esxcli software profile get'

InkedInkedpatching1_error_1_LI.jpg

Then update error (problem to match the customized name)

Inkedpatching1_error_2_LI.jpg

Then I tried the 2nd way (VIB install) from the KB and got DependencyError

Inkedpatching2_error_LI.jpg

0 Kudos
amohammadimir
Hot Shot
Hot Shot

You have made a mistake, you have used image profile that installed on your ESXi host. Get image profile from the zip file and then update image profile. review the shared commands again.

Please remember to mark the replies as answers if they helped.
0 Kudos
kadarpik
Contributor
Contributor

it worked well from 6.0 to 6.5 with hp custom images for dl20 gen9 at least.

0 Kudos