Amar Kulo

Me and my unorganized thoughts

How to reinstall macOS when you get “application is damaged” error

Today I was trying to reinstall an older Mac Mini and installation keep failing with error: “This copy of the Install macOS Sierra.app application is damaged, and can’t be used to install macOS.”

I have tried Yosemite, High Sierra beta (the latest one b6) but still the same error happened so I started wondering why it would fail. One look in the terminal on date and time showed that Mini thought it’s 2001 so package couldn’t be verified and thus installed as verification failed.

So I run following command to set today’s date and time:

date 0818134217

After the date and time were updated to today’s date and installation went on without any problems.

Here is how to use date command:

NAME
date — display or set date and time

SYNOPSIS
date [-jnu] [[[mm]dd]HH]MM[[cc]yy][.ss]

So in my case it was:

  • 08 – month
  • 18 – day
  • 13 – hour
  • 42 – minutes
  • 17 – year

This might save you some time.

6 Comments

  1. Thanks for this – saved me a lot of mucking about.

    • amar

      2017-11-11 at 15:50

      Great, I know I lost quite a lot of time to get it working, message is not self explanatory. I have redownloaded installation files multiple times.

  2. Yes man it really helped after upgrading ssd , when I disconnected battery cable it seems forgot the date ,

  3. Brilliant – couldn’t get this new install working, went through a couple of USB’s and kept getting error message. Like Gene above I was installing to a new SSD and your BRILLIANT and easy solution got this all working. I’ve trawled the internet and haven’t found anyone who has shared this info. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2018 Amar Kulo

Theme by Anders NorenUp ↑