Trouble updating arduino

Trying to update my Arduino. I get this error when I try to upload the software:

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

c:/program files/windowsapps/arduinollc.arduinoide_1.8.10.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/…/lib/gcc/avr/4.9.2/…/…/…/…/avr/bin/ld.exe: error: could not unlink output file

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Any ideas?

Thanks,

MS

1 Like

got it working nvm.

MS

2 Likes

What was the solution? I haven’t seen that warning before so next time I’ll know how to help

3 Likes

i deleted the firmware from the computer and re-unzipped it. Then I rebooted the arduino and tried to reinstall again and it worked.

5 Likes

Thank you for this. I just had the same error, and this fixed it.

2 Likes

glad I could help.

MS

3 Likes