Cygwin install error: Package file libxxx has a corrupt local copy, please remove and retry

2

When attempting to install certain packages to Cygwin, I received one of the following errors:

Package file libgcc1 has a corrupt local copy, please remove and retry.

Package file libssp0 has a corrupt local copy, please remove and retry.

Package file libstc++6 has a corrupt local copy, please remove and retry.

user82599

Posted 2015-03-06T16:48:07.910

Reputation: 61

Please don't edit your question to include the answer. Instead answer your own question. Please read Can I answer my own question?

– DavidPostill – 2015-03-06T18:31:20.157

This may well be a temporary problem with cygwin, better suited to be answered to and searched for in the mailing lists (archives) at www.cygwin.com – Hannu – 2015-03-06T22:25:09.457

Answers

2

If this happens to you, the easiest solution is to delete the Local Package Directory that the Cygwin installer uses to download and install the packages from. The directory name will look similar to your download site, e.g. "http%3a%2f%2fcygwin.mirror.constant.com%2f"

user82599

Posted 2015-03-06T16:48:07.910

Reputation: 61