Note, I do not know how to get back to where this problem occured, so most of this is off memory.
I was trying to update the avr board definitions or whatever when it got stuck at installing tools(1/3). At that point I hit cancel, but when I retried, it said something like:/home/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2 already exists! So I went to that file, moved it to trash, then retried. Then it said the same for another file under /5.4.0/, so I moved the whole folder to trash, but then it got stuck at installing tools(1/3) again.
Error messages here:
java.lang.InterruptedException
java.lang.RuntimeException: java.lang.InterruptedException
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
at processing.app.Platform.chmod(Platform.java:345)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:239)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:81)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:142)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
java.lang.RuntimeException: java.io.IOException: Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:212)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:81)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:142)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
java.lang.RuntimeException: java.io.IOException: Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:212)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:81)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:142)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/cc1, file already exists!
java.lang.RuntimeException: java.io.IOException: Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/cc1, file already exists!
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/cc1, file already exists!
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:212)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:81)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:142)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
java.lang.InterruptedException
java.lang.RuntimeException: java.lang.InterruptedException
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
at processing.app.Platform.chmod(Platform.java:345)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:239)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:81)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:142)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
java.lang.RuntimeException: java.io.IOException: Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Can't extract file /home/pi/.arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/libexec/gcc/avr/5.4.0/collect2, file already exists!
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:212)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:81)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:142)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
java.lang.InterruptedException
java.lang.RuntimeException: java.lang.InterruptedException
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:175)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:395)
at processing.app.Platform.chmod(Platform.java:345)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:239)
at cc.arduino.utils.ArchiveExtractor.extract(ArchiveExtractor.java:81)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:142)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more