Site icon mulcas

Could not download from depot at zip... Error extracting index.xml

Could not download from depot at zip Error extracting index.xml

Problem:

Could not download from depot at zip

While using offline software bundles, you are unable to install an async driver or latest upgrades on the ESXi host using the command line (CLI).

You see:

Example from an ESXi upgrade attempt.

[root@ESXi:~] esxcli software profile update -p ESXi-6.7.0-20190402001-standard -d /vmfs/volumes/5afa57a0-5eb07a05-89f7-001b21bc2484/update2.zip
 [MetadataDownloadError]
 Could not download from depot at zip:/vmfs/volumes/5afa57a0-5eb07a05-89f7-001b21bc2484/update2.zip?index.xml, skipping (('zip:/vmfs/volumes/5afa57a0-5eb07a05-89f7-001b21bc2484/update2.zip?index.xml', '', "Error extracting index.xml from /vmfs/volumes/5afa57a0-5eb07a05-89f7-001b21bc2484/update2.zip: [Errno 2] No such file or directory: '/vmfs/volumes/5afa57a0-5eb07a05-89f7-001b21bc2484/update2.zip'"))
        url = zip:/vmfs/volumes/5afa57a0-5eb07a05-89f7-001b21bc2484/update2.zip?index.xml
Please refer to the log file for more details.

Possible solutions:

Example of a proper command line:

esxcli software vib update -d /vmfs/volumes/datastore_name/vib_update.zip
esxcli software profile update -p Image_Profile_Name -d /vmfs/volumes/datastore_name/ESXi_Upgrade_File.zip

Image Profile Names (Ex. for ESXi 6.7 U2):

Choose your profile image according to the downloaded version, check the VMware release notes for the latest updates and official label.

Exit mobile version