To upgrade ESXi to 6.7U2, usually use below command is enough:
esxcli software profile update -p ESXi-6.7.0-20190402001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
But this time I got error “[Error28] No space left on device”.
Someone said to enable the swap on SSD can fix the issue, but I tried, it doesn’t work.
The fix is to manually update a vib first
[root@host:~] cd /tmp
[root@host:/tmp] wget http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_10.3.5.10430147-12986307.vib
[root@host:/tmp] esxcli software vib install -f -v /tmp/VMware_locker_tools-light_10.3.5.10430147-12986307.vib
Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: VMware_locker_tools-light_10.3.5.10430147-12986307
VIBs Removed: VMware_locker_tools-light_10.3.2.9925305-10176879
VIBs Skipped:
Then run the update again, you should be able to update your ESXi host now.