- Advertisement -
HomeVirtualizationVMwareCould 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:

  • Could not download from depot at zip
  • Error extracting index.xml
  • No such file or directory

Example from an ESXi upgrade attempt.

[[email protected]:~] 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
- Advertisement -

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.

Juan Mulford
Juan Mulford
I have been active in IT for over fourteen years now. I am a solutions architect, working with storage, virtualization, and VDI solutions. For the past ten years, I have been living and working in Taiwan.

7 COMMENTS

  1. I am using an absolute path but it produces the same error. I am able to cd to each of the levels successfully so it is not a typo…frustrating…:

    [[email protected]:~] cd vmfs
    [[email protected]:/vmfs] cd volumes
    [[email protected]:/vmfs/volumes] cd InternalRAID6
    [[email protected]:/vmfs/volumes/5db984ee-64230b9b-a683-801844ef8366] cd Updates
    [[email protected]:/vmfs/volumes/5db984ee-64230b9b-a683-801844ef8366/Updates]
    [[email protected]:/vmfs/volumes/5db984ee-64230b9b-a683-801844ef8366/Updates] cd \

    [[email protected]:~] esxcli storage vmfs extent list
    Volume Name VMFS UUID Extent Number Device Name Partition
    ————- ———————————– ————- ———————————— ———
    InternalRAID6 5db984ee-64230b9b-a683-801844ef8366 0 naa.6d094660379c840023f2cbb9237ee95d 1

    [[email protected]:~] esxcli software vib update -d /vmfs/volumes/InternalRAID6/Upd
    ates/ESXi670-201912001.ZIP
    [MetadataDownloadError]
    Could not download from depot at zip:/vmfs/volumes/InternalRAID6/Updates/ESXi670-201912001.ZIP?index.xml, skipping ((‘zip:/vmfs/volumes/InternalRAID6/Updates/ESXi670-201912001.ZIP?index.xml’, ”, “Error extracting index.xml from /vmfs/volumes/InternalRAID6/Updates/ESXi670-201912001.ZIP: [Errno 2] No such file or directory: ‘/vmfs/volumes/InternalRAID6/Updates/ESXi670-201912001.ZIP'”))
    url = zip:/vmfs/volumes/InternalRAID6/Updates/ESXi670-201912001.ZIP?index.xml
    Please refer to the log file for more details.

    nuts

  2. I have faced the same issue before, and it seems the problem was that the datastore name having some white space, then i renamed into a signle word and it solved my problem.

    datastore name before: datastore1 (1)
    datastore name after: datastore1_esx1

Leave a Reply

- Advertisement -

Popular Articles

mulcas.com-Raspberry-Pi

Raspberry Pi OS in a Virtual Machine with VMware

4
Although the Raspberry Pi OS is designed and optimized for the Raspberry Pi module, it is possible to test and use it without its hardware, with VMware. This solution can be useful if you are a developer (or just a curious guy) and don't have a Raspberry Pi module with you
Unable to delete inaccessible datastore

Unable to delete an "inaccessible" datastore

4
I was switching my storage array, so I migrated the VMs from that old datastore/storage to a new datastore/storage. The old datastore was shared by 3 ESXi hosts, no cluster. After migrating the VMs and unmount/delete the datastore, it was still presented in two of the ESXi hosts and was marked as inaccessible.
mulcas.com-VMware-OVF-Tool

How to export a Virtual Machine using the VMware OVF Tool

8
The VMware OVF Tool is implemented by VMware for easily importing and exporting virtual machines in Open Virtualization Format (OVF) standard format. Here, I want to show you how to download and install it, and then how to use it from a Windows machine.
This is not a valid source path / URL

This is not a valid source path / URL - SourceTree and Gitlab

0
I have been working on a project with a friend who set up a repository in Gitlab but even though I was able to view all projects on it, I couldn’t really join the repository. I was using SourceTree and Gitlab.
WinSCP VCSA

Unable to Access the VCSA 6.7 via WinSCP

8
One of the many and easiest ways to get the logs from the ESXi hosts and vCenter Server Appliance (VCSA), is accessing directly to the files directory using tools such as WinSCP, which helps to transfer the files between a local and a remote computer ( Ex. VCSA). I never have had issues with the ESXi hosts and WinSCP, however, trying to access the VCSA is a different story.
- Advertisement -

Recent Comments