Upgrading to ESXi through esxcli vib update method fails with dependency error
search cancel

Upgrading to ESXi through esxcli vib update method fails with dependency error

book

Article ID: 315284

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When attempting to upgrade the ESXi host using the following command:

#esxcli software vib update -d <zip location>


The upgrade fails with one of the following error messages.

  • [DependencyError]
    VIB VMware bootbank esx-base 6.7.0-2.48.13006603 requires esx-update << 6.7.0-2.49, but the requirement cannot be satisfied within the ImageProfile.
    VIB VMware bootbank esx-base 6.7.0-2.48.13006603 requires esx-update >= 6.7.0-2.48, but the requirement cannot be satisfied within the ImageProfile.
    Please refer to the log file for more details.

 

  • [ProfileValidationError]

Profile (Updated) ESXi-<build number>-standard is missing component(s) ESXI,  Make sure the image contains these component(s) at a version equal to or higher than the version found in the ESXI host.

Environment

VMware vSphere ESXi 

Cause

This issue is occurs due to a dependency between esx-base and esx-update vib.

Resolution

To resolve this issue, use one of these options:

These commands will list the profile:

  • esxcli software sources profile list -d /vmfs/volumes/datastorename/ESXi.zip
  • esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/main/vmw-depot-index.xml


Note: Ensure the provided URL is active and able to connect and download the files.

Expected Output:

This XML file does not appear to have any style information associated with it. The document tree is
<vmwdpm:vendorList xmlns:vmwdpm="http://www.vmware.com/depotmanagement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/depotmanagement ../../depot-index-xml.xsd">
<vendor>
<name>vmware, inc.</name>
<code>vmw</code>
<indexfile>vmw-esx-index.xml</indexfile>
<relativePath>esx/vmw</relativePath>
<content>
<name>VMware ESX</name>
<type>http://www.vmware.com/depotmanagement/esx</type>
</content>
</vendor>
</vmwdpm:vendorList>

This command will update the profile listed from the previous commands with the VIB that is trying to be applied:

  • esxcli software profile update -d /vmfs/volumes/datastore1/ESXiXXX-201212001.zip -p <profile name>

Additional Information

VMware Skyline Health Diagnostics for vSphere - FAQ

Image Profiles

An image profile is a software container that VMware uses to logically group a set of VIB files that make up a full installation of ESXi. An image profile is a set of VIBs grouped to make a full installation of ESXi.  The collections consist of a standard image profile and a no-tools image profile.

Image Profile Name Format  – ESXi-<ABC>-<YYYYMMRRSSS>[s]

A = Major ESXi Version; B = Minor ESXi Version; YYYY = Release Year; MM = Release Month; RR = Release Code; SSS = Release Sequence; s = Flag for Security Only Image Profile