composer: composer install crashes computer
After adding a new package, I ran composer install
, it then gave the man in the middle attack error. Restarted PC, still same issue, I then went to add/remove programs -> change -> reinstall composer.
After this I ran composer install
again, PC then crashed. Tried 3 times, everytime is crashed everything. Not sure what debug I can give or where to get it.
Any ideas for this? Cheers
EDIT: Completely uninstalling and reinstalling seems to fix the crash however the man in the middle attack still remains
[Composer\Repository\RepositorySecurityException]
The contents of http://packagist.org/p/laravel/framework%248bb9d6c2db00f3d8a067c5f3a3aa4d4a13cac1cd1ef0d3b11803c9fe9329a2d8.json do not match its signature
. This should indicate a man-in-the-middle attack. Try running composer again and report this if you think it is a mistake.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 22 (10 by maintainers)
My bad I’ve run to conclusions too quickly
All computers crash in some weird way when they REALLY run out of memory. Most never do because they have ‘virtually infinite’ swap memory, causing the computer to grind to a halt through swap overuse before dying of out of memory. For miniature VMs or resource-constrained containers however, out-of-memory is generally fatal.
You may want to read https://docs.docker.com/config/containers/resource_constraints/#understand-the-risks-of-running-out-of-memory and https://www.kernel.org/doc/gorman/html/understand/understand016.html