The data is invalid (0x8007000d)

A downloaded update file is damaged.

How to fix it

  1. Reset Windows Update: in Terminal (Admin) run net stop wuauserv and net stop bits , rename C:\Windows\SoftwareDistribution to SoftwareDistribution.old, then net start wuauserv and net start bits .
  2. Repair Windows files: open Terminal (Admin) and run DISM /Online /Cleanup-Image /RestoreHealth then sfc /scannow and restart.
  3. Install the update by hand: search its KB number on the official Microsoft Update Catalog (catalog.update.microsoft.com) and run the file for your Windows version.