esxcli: Update/patch produces “Could not download from depot” error

In ESXi 5.1 you can patch using the following command:


esxcli software vib install -d /path/to/


If you’re getting the following result (using as an example):


Could not download from depot at zip:/var/log/vmware/, skipping ((‘zip:/var/log/vmware/’, ”, “Error extracting index.xml from /var/log/vmware/ [Errno 2] No such file or directory: ‘/var/log/vmware/’”))
url = zip:/var/log/vmware/
Please refer to the log file for more details.


This results from not putting in the absolute path to the .zip – e.g. using:


esxcli software vib install -d


rather than:


esxcli software vib install -d /vmfs/volumes/datastore/


Putting in the full path to the .zip file should resolve that error.



, ,