Skip to content

Instantly share code, notes, and snippets.

@ryanmaclean
Created May 31, 2022 17:35
Show Gist options
  • Save ryanmaclean/3552c9c85f708e90ce25b3db7c0d11c5 to your computer and use it in GitHub Desktop.
Save ryanmaclean/3552c9c85f708e90ce25b3db7c0d11c5 to your computer and use it in GitHub Desktop.
Install El Capitan (macOS 10.11) VM - fix OSX could not be installed on you computer. No packages were eligible for install.

Error message when attempting install:

OSX could not be installed on you computer. No packages were eligible for install.

The problem - the certificates in the installer are out of date. In order to address this, we can change the date and time on the command line, but we will need to disable networking first.

In your virtualisation manager, disable the network interface connected to your VM.

Under "Utilities" in the top menu bar, choose "Command Line".

Once it has loaded, enter the following to set the date back to a magical time when this cert worked:

date -u 0531173216 (May 31st, 2016)

Then close the Command Line app (cmd+Q, or from the menu).

Click "restart" in the installer window, which will reboot (time is kept as NIC is off) and your install should complete!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment