Upgrade ESXi 4.1 to 5.x fails with error Downloading metadata failed.

Posted on 2013-09-26
Medium Priority
Last Modified: 2013-09-26
I am trying to upgrade an ESXi 4.1 host to version 5.1 or 5.5. I tried updating it with PowerCLI and esxupdate. Below are the errors I am getting.

 esxupdate --bundle /vmfs/volumes/datastore1/ESXi-5.5.0-1331820-standard.zip update
error: Failed acquiring information for 'metadata-1284675570':
error: file:///var/tmp/cache/metadata-1284675570/ESXi/Packages.gz: File not found for validation
Encountered error MetadataFormatError:
The error data is:
   Filename    - None
   Message     - Failed scanning package data: Downloading metadata failed.
   Errno       - 5
   Description - The format of the metadata is invalid.

PowerCLI C:\> Get-VMHost | Install-VMHostPatch -HostPath /vmfs/volumes/datastore1/VMware-ESXi-5.1.0-799733-depot/vmw-ESXi-5.1.0-metadata.zip
Install-VMHostPatch : 9/26/2013 2:14:30 PM    Install-VMHostPatch        The following error occured while updating host '': Failed scannin
g package data: Downloading metadata failed.
At line:1 char:33
+ Get-VMHost | Install-VMHostPatch <<<<  -HostPath /vmfs/volumes/datastore1/VMware-ESXi-5.1.0-799733-depot/vmw-ESXi-5.1.0-metadata.zip
    + CategoryInfo          : InvalidArgument: (:) [Install-VMHostPatch], VimException
    + FullyQualifiedErrorId : Client20_SystemManagementServiceImpl_InstallVMHostPatch40_InstallError,VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.InstallVMHostPatch

Why is this failing? Am I doing something wrong?
Question by:Alspa
1 Comment
LVL 126

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39525818
What you are trying to do from ESXi 4.1 to 5.1 is not supported, and does not work. BOOT server from CDROM and upgrade.

You cannot upgrade ESXi 4.1 to 5.1 using the depot bundle at the console, the supported method of upgrade is using the ISO CDROM, - Interactive upgrade from CD, DVD, or USB drive.

see here


The same is true from ESXi 4.1 to ESXi 5.5 is not supported, and does not work, BOOT server from CCROM and upgrade

see here also


Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

607 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