hello, I have been trying to patch my ESXi 5.1 server using Cli I keep getting errors.
here is my command..
c:\program files (x86)\VMWAre\VMWare vSphere CLI>esxcli --server=xxx.xxx.xxx --username=root software vib sources list--depot=/vmfs/volumes/datastore1/
I receive the following output.
<
[MetadataDownloadError]
Could not download from depot at zip:/vmfs/volumes/4ba918b6-9a1e601f-1671-001
75207c/UPDATE/ESXI510-20142001.zip?index.xml, skipping (('zip:/vmfs/volumes/4
18b6-9a1e601f-1671-0018fe75207c/UPDATE/ESXI510-20142001.zip?index.xml', '', "
or extracting index.xml from /vmfs/volumes/4ba918b6-9a1e601f-1671-0018fe75207
PDATE/ESXI510-20142001.zip: [Errno 2] No such file or directory: '/vmfs/volum
4ba918b6-9a1e601f-1671-0018fe75207c/UPDATE/ESXI510-20142001.zip'"))
url = zip:/vmfs/volumes/4ba918b6-9a1e601f-1671-0018fe75207c/UPDATE/ESX
0-20142001.zip?index.xml
Please refer to the log file for more details.
I was trying to get a list of VIBs first. So that wasn't working, so I tried to update the thing with this command.
c:\program files (x86)\VMWAre\VMWare vSphere CLI>esxcli --server=xxx.xxx.xxx --username=root software vib update --depot=/vmfs/volumes/datastore1/patches/patch.zip
I receive this output,
C:\Program Files (x86)\VMware\VMware vSphere CLI>esxcli --server=xxx.xxx.xxx -
-username=root software vib update --depot=/vmfs/volumes/VMs Datastore Partition
/UPDATE/ESXi510-20142001.zip
Enter password:
Error: Invalid option Datastore
not sure what to do...I have tried using the short name of the datastore and full ID of the datastore...please help..