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:
- Could not download from depot at zip
- Error extracting index.xml
- No such file or directory
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:
- If you are performing an online upgrade, verify the gateway and DNS settings of your ESXi host.
- Ensure that the OS driver/datastore is not full. If it is, try freeing space.
- Make sure your ESXi host is in maintenance mode
- Check and double-check the esxcli command syntax.
- Do not run the command from the datastore location. The path specified must be absolute, ensure to use the full path to the zip file.
- Try using a local ESXi datastore.
- Try using the Datastore UUID.
Example of a proper command line:
vib updates:
esxcli software vib update -d /vmfs/volumes/datastore_name/vib_update.zip
Version upgrades:
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):
- ESXi-6.7.0-20190402001-standard
- ESXi-6.7.0-20190402001-no-tools
- ESXi-6.7.0-20190401001s-standard
- ESXi-6.7.0-20190401001s-no-tools
Choose your profile image according to the downloaded version, check the VMware release notes for the latest updates and official label.