更新VMware ESXi 6.7报错[DependencyError]but the requirement cannot be satisfied within the ImageProfile.

 

尝试将VMware ESXi 6.7生成9484548主机更新为最新的ESXi 6.7 Update 1生成时,出现以下错误:

[DependencyError]
VIB VMware_bootbank_esx-base_6.7.0-1.28.10302608 requires esx-update << 6.7.0-1.29, but the requirement cannot be satisfied within the ImageProfile.
VIB VMware_bootbank_esx-base_6.7.0-1.28.10302608 requires esx-update >= 6.7.0-1.28, but the requirement cannot be satisfied within the ImageProfile.
Please refer to the log file for more details.

在周围搜索时,似乎有更多人在尝试更新到6.7U1时遇到此问题(链接)。使用这些步骤,我能够将ESXi 6.7主机从内部版本9484548更新到最新版本(10764712):

  • SSH到ESXi主机
  • 将ESXi主机置于维护模式
  • esxcli system maintenanceMode set --enable true
  • 打开用于HTTP通信的ESXi防火墙。ESXi主机必须具有Internet访问权限。
  • esxcli network firewall ruleset set -e true -r httpClient
  • 在VMware内部版本号概述中找到最新的ESXi版本名称,链接。在撰写此博客文章时,最新版本名称/补丁是“ ESXi670-201811001”,内部版本号为10764712。

 

  • VMware补丁程序仓库包含大量构建版本,可使用以下命令使其更易于过滤并找到正确的配置文件:
  • esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6.7.0-201811
  • 这产生两个配置文件:
  • ESXi-6.7.0-20181104001-no-tools VMware, Inc. PartnerSupported 2018-11-08T08:39:18 2018-11-08T08:39:18
  • ESXi-6.7.0-20181104001-standard VMware, Inc. PartnerSupported 2018-11-08T08:39:18 2018-11-08T08:39:18
  • 通过添加“ ESXi-6.7.0-20181104001-standard”配置文件来更新主机,并使用以下命令指向VMware补丁程序仓库:
  • esxcli software profile update -p ESXi-6.7.0-20181104001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
  • 检查更新是否成功完成

更新VMware ESXi 6.7报错[DependencyError]but the requirement cannot be satisfied within the ImageProfile._第1张图片

  • 在ESXi防火墙中禁用HTTP客户端
  • esxcli network firewall ruleset set -e false -r httpClient
  • 重新启动ESXi主机
  • reboot
  • 重新引导ESXi主机后,使用SSH退出维护模式
  • vim-cmd hostsvc/maintenance_mode_exit
  • 检查更新是否成功完成
  • vmware -v

成功完成所有步骤后,VMware ESXi 6.7.0的生成版本为10764712

 

你可能感兴趣的:(更新VMware ESXi 6.7报错[DependencyError]but the requirement cannot be satisfied within the ImageProfile.)