# Updating the host with VIBs from an image profile or VIB packages

  • esxcli software vib
~] esxcli software vib
Usage: esxcli software vib {cmd} [cmd options]
Available Namespaces:
  signature             Commands to verify signatures and show information about the signature verification status of VIB packages
Available Commands:
  get                   Displays detailed information about one or more installed VIBs
  install               Installs VIB packages from a URL or depot. VIBs may be installed, upgraded, or downgraded. WARNING: If your installation
                        requires a reboot, you need to disable HA first.
  list                  Lists the installed VIB packages
  remove                Removes VIB packages from the host. WARNING: If your installation requires a reboot, you need to disable HA first.
  update                Update installed VIBs to newer VIB packages. No new VIBs will be installed, only updates. WARNING: If your installation
                        requires a reboot, you need to disable HA first.
~] esxcli software vib update -d /vmfs/volumes/VNX5500_3_VMware_HA1_3700GB/Patchs/ESXi650-202102001.zip
~] esxcli software vib install -d /vmfs/volumes/BACKUP/VMW-ESX-6.0.0-i40en-1.5.8-offline_bundle-7759662.zip
  • esxcli software profile
~] esxcli software profile
Usage: esxcli software profile {cmd} [cmd options]
Available Commands:
  get                   Display the installed image profile and host acceptance level.
  install               Installs or applies an image profile from a depot to this host. This command completely replaces the installed image with the image
                        defined by the new image profile, and may result in the loss of installed VIBs. To preserve installed VIBs, use profile update instead.
                        WARNING: If your installation requires a reboot, you need to disable HA first.
  update                Updates the host with VIBs from an image profile in a depot. Installed VIBs may be upgraded (or downgraded if --allow-downgrades is
                        specified), but they will not be removed. Any VIBs in the image profile which are not related to any installed VIBs will be added to
                        the host. WARNING: If your installation requires a reboot, you need to disable HA first.
  validate              Validates the current image profile on the host against an image profile in a depot.
# Show system version
~] esxcli system version get
# Show package's profile
~] esxcli software sources profile list --depot=/vmfs/volumes/datastore1/patch/update-from-esxi5.0-5.0_update03.zip
# Try to Update VIBs
~] esxcli software profile update --depot=/vmfs/volumes/datastore1/patch/update-from-esxi5.0-5.0_update03.zip --dry-run --profile=ESXi-5.0.0-20131002001-standard
# Update VIBs
~] esxcli software profile update --depot=/vmfs/volumes/datastore1/patch/update-from-esxi5.0-5.0_update03.zip --profile=ESXi-5.0.0-20131002001-standard
Edited on