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

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

book

Article ID: 315284

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

When upgrading ESXi host using command:

esxcli software vib update -d <zip location>

it fails with the following error:

VIB VMware_bootban_esx-base_6.7.0-2.48...requires esx-update << 6.7,.. but the requirement cannot be satisfied within the image profile.

Environment

VMware vSphere ESXi 6.7

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