VMware vSphere

 View Only
  • 1.  Error when applying an update patch - Standalone ESXi

    Posted Oct 23, 2012 08:17 PM

    Good evening all,

    I currently have a single ESXi host with local attached storage, one datastore called 'Datastore1, that I am trying to apply the latest patch to in order to install a trial version of Win8. I am currently running version 5.0.0 469512.

    Initially I tried to install patch ESXi500-201112001 and that gave me an error message so I tried to install the latest patch, ESXi500-201209001, to see if that would do the trick, it didn't/

    So here's what I've done so far.  I've downloaded the patches and uploaded to the root of datastore1.  I have then enabled ESXi Shell and SSH, powered off my VMs and put the host into maintenance mode. I have then connected to the host using Putty.

    One there I have navigated to /vmfs/volumes/datastore1/ and run the following command:-

    esxcli software vib update --depot <zipfilename.zip>

    This errors out with following message:

    [MetadataDownloadError]
    Could not download from depot at zip:/var/log/vmware/ESXi500-201112001.zip?index.xml, skipping (('zip:/var/log/vmware/ESXi500-201112001.zip?index.xml', '', "Error extracting index.xml from /var/log/vmware/ESXi500-201112001.zip: [Errno 2] No such file or directory: '/var/log/vmware/ESXi500-201112001.zip'"))
            url = zip:/var/log/vmware/ESXi500-201112001.zip?index.xml
    Please refer to the log file for more details.

    I've tried the obligatory host reboot, same result.

    Can someone please cast an eye and see what muppetry I'm conducting.

    Thanks in advance

    Jay



  • 2.  RE: Error when applying an update patch - Standalone ESXi
    Best Answer

    Posted Oct 23, 2012 08:22 PM

    Try this command:

    esxcli software vib update --depot=/vmfs/volumes/datastore1/ESXi500-201112001.zip



  • 3.  RE: Error when applying an update patch - Standalone ESXi

    Posted Oct 23, 2012 08:32 PM

    Thanks Brian,  I've just tried that and I didnt get the error, rather a Putty window full of text and then back to the 'command prompt'.  I'll do a reboot and let you know how it goes.

    Out of interest, is normal to have to put in the path even though you've navigated to the location of the zip file, as far as I can see that's the only difference.



  • 4.  RE: Error when applying an update patch - Standalone ESXi

    Posted Oct 23, 2012 08:34 PM

    Yes, as far as I know the path specified must be absolute.



  • 5.  RE: Error when applying an update patch - Standalone ESXi

    Posted Oct 23, 2012 08:40 PM

    Thanks Brian, that did the trick.  Won't make that mistake again.

    Much appreciated!