ESXI 5.1 patch update failed

Posted on 2013-02-06
Last Modified: 2013-02-10
Tried to update patch on my esxi 5.1 host using SSH. I downloaded the patch from

I first tried but it failed and then tried also got the same message... see screenshot.. what did I do wrong?

Question by:okamon
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
LVL 10

Assisted Solution

rjanowsky earned 210 total points
ID: 38862712
You have to use the command:

esxcli software vib install -d path-to-patch

Have a look at the cli docs here

You want to install a new patch and don't want to update an installed one.

Author Comment

ID: 38862737
it seems it worked! but I still don't understand why it was not an UPDATE?
As I followed this article and it seems it's also for the patch. the update was used in the article....

Author Comment

ID: 38862750
And now I just tried to do the second Patch
and this time it worked with the "UPDATE" switch -> esxcli software vib update-d path-to-patch  ... WHY?
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 10

Expert Comment

ID: 38862758
But if you look at the screenshot in your link, you see that most of the patches were skipped. Only a few vibs were installed. The documentation is quite clear:

software vib update - Update installed VIBs to newer VIB packages. No new VIBs will be installed, only updates.

software vib install - Installs VIB packages from a URL or depot. VIBs may be installed, upgraded, or downgraded.
LVL 10

Expert Comment

ID: 38862775
In the second patch they was really an update package for the tools - see attached screenshot. In the first patch was only the esx base system.

Which build number is your host now running? Build Number: 914609 from ESXi510-201212001 or build number: 838463 from  ESXi510-201210001?
LVL 121
ID: 38862980
it seems to me, that you have the same build number that you are patching?

what is your build number?

Author Comment

ID: 38866164
I think the original build was 5.1.0, 7xxxxxxx cannot recall the number after. As it didn't work first with the update switch, I followed rjanowsky and run the install switch and it worked ( I rebooted the esxi host and then run the esxcli command again and this time, I used the update switch for the It worked and I rebooted again. Now I am on 5.1.0, 9414609
So my question is how do I determine what switch to use, update or install?

And my second question, does the include everything in can I just run or I have to run first and then like what I did here
LVL 121
ID: 38866189
update and install do the same thing.

the updates are cumulative, so you only need to use the lastest patch.

Author Comment

ID: 38866355
thanks! hanccocka. so why the update switch didn't work with this is what I wanted to know if you are saying "update and install do the same thing."
LVL 121

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 210 total points
ID: 38866500
we have seen some very odd behavoir when using the esxcli to update/install updates, and sometimes, the update is not installed, after several reboots.

some users use update to install patches, and some users use update.

I think it's safer always to use install, it seems to be more reliable.

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question