Home Knowledge Base Install old macOS: “damaged” installer and the date in Terminal
macOS / OS X Terminal Install

Install old macOS: “damaged” installer and the date in Terminal

Fix for “this copy of the application is damaged” and “No packages were eligible for install” when installing El Capitan, Sierra, High Sierra or Mojave: Apple’s re-signed installer, createinstallmedia and the date command with a per-version date table.

SystemMac OS X 10.5 – macOS 11
WhereInstaller Terminal / Recovery
CauseExpired certificate (Oct 24, 2019) or wrong clock
0 · Identify the error

This applies if the installer shows one of these messages (and you did not get the prohibitory symbol at boot, meaning the version is compatible with your Mac):

  • “This copy of the Install macOS… application is damaged, and can’t be used to install macOS”
  • “No packages were eligible for install”
  • “This copy of the Install OS X… application can’t be verified”
  • “The installer payload failed signature check”

The cause is the installer’s digital signature: its certificate isn’t valid on the date the Mac’s clock shows. Either the installer is a copy from before October 24, 2019 (when Apple’s certificate expired), or the clock is in the past.

1 · Check the Mac’s date

Boot from the USB stick or Recovery and open Utilities → Terminal, without leaving the installer.

Installer Terminal
date

If it shows 2000 or 2001, the clock (PRAM) battery is dead: set today’s date (example for Oct 24, 2026 at 12:00) and try again. That’s all you need if your installer is a fresh copy.

Format MMDDhhmmYY — use today’s real date
date 1024120026
2 · Recommended fix: download Apple’s re-signed installer

Apple re-signed its installers with a certificate valid until 2029. From the official previous-versions page: High Sierra through Sequoia via the App Store; Sierra, El Capitan, Yosemite, Mountain Lion and Lion as a .dmg. With this copy, don’t change the date: leave it at today.

On a Mac running Catalina or later — list the installers Apple offers
softwareupdate --list-full-installers
Download one (change the number to the version you want)
softwareupdate --fetch-full-installer --full-installer-version 10.15.7

If the .pkg inside the .dmg refuses to install because your current Mac is newer, do it from a Mac that supports that version.

3 · Rebuild the USB stick from the fresh copy

A USB stick made from an old installer keeps the expired certificate: you have to create it again. 16 GB or larger, formatted as Mac OS Extended (Journaled) and named MyVolume. Everything on it is erased.

High Sierra, Mojave, Catalina and later (change the app name)
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Sierra
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ Sierra.app
El Capitan
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app
4 · Can’t download: change the date during the install

Only for copies older than October 2019 (or versions Apple no longer offers, such as Mavericks). The date must fall after the installer was signed and before Oct 24, 2019.

  1. Disconnect Wi-Fi and the network cable.
  2. Open Utilities → Terminal from the installer.
  3. Type your version’s date (table below).
  4. Quit via Terminal → Quit Terminal (closing the window isn’t enough) and install again.
  5. If it doesn’t work, try the “Alternative” column or move the year up by one.
High Sierra example — Jan 1, 2018, 01:01
date 0101010118
VersionNameRelease dateAlternative
11Big Surdate 1112000020date 0101010121
10.15Catalinadate 1007000019date 0101010120
10.14Mojavedate 0924000018date 0101010119
10.13High Sierradate 0925000017date 0101010118
10.12Sierradate 0920000016date 0101010117
10.11El Capitandate 0930000015date 0101010116
10.10Yosemitedate 1016000014date 0101010115
10.9Mavericksdate 1022000013date 0101010114
10.8Mountain Liondate 0725000012date 0101010113
10.7Liondate 0720000011date 0101010111
10.6Snow Leoparddate 0828000009date 0101010110
10.5Leoparddate 1026000007date 0101010108
Don’t use old dates with Apple’s re-signed installer: its new certificate only became valid in late 2019 and an earlier date invalidates it.
5 · If the date keeps changing back

On Intel Macs, reset NVRAM: at power-on hold Option + Command + P + R for about 20 seconds. If the clock goes back to 2001 after shutting down, replace the PRAM battery.

6 · After installing: automatic date

Connect to the internet and enable System Preferences → Date & Time → Set automatically. A fake date breaks secure browsing and Time Machine timestamps.

Terminal alternative (Mojave and later)
sudo sntp -sS time.apple.com
High Sierra and earlier
sudo ntpdate -u time.apple.com
Credits and sources
Restore automatic date when done · best on a clean install
Read full explanation