Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 13 INTERNAL: Cannot install tool esp32:esp32-arduino-libs@idf-release_v5.1-632e0c2a: testing local archive integrity: #2540

Open
3 tasks done
baelzabubba opened this issue Oct 23, 2024 · 1 comment
Labels
type: imperfection Perceived defect in any part of project

Comments

@baelzabubba
Copy link

Describe the problem

In ArduinoIDE
Updated ESP32 by Espressif Systems from 3.0.5 to 3.0.6 and received the following message:

Installing esp32:esp32-arduino-libs@idf-release_v5.1-632e0c2a
Failed to install platform: 'esp32:esp32:3.0.6'.
Error: 13 INTERNAL: Cannot install tool esp32:esp32-arduino-libs@idf-release_v5.1-632e0c2a: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index: 309895581 != 309891323

To reproduce

Either automatic or manual update of the ESP32 library from 3.0.5 to 3.0.6 produces this error when updating.
Initially, I allowed the auto update and received the abovementioned error.
I later Removed 3.0.6 and Installed 3.0.5 then manually updated from 3.0.5 to 3.0.6 and again received the error.

After returning back to 3.0.5 and trying to compile the sketch that compiled correctly before this cycle of install/uninstall/reinstall, I now receive the following error:

xtensa-esp32-elf-g++: fatal error: cannot execute 'cc1plus': CreateProcess: No such file or directory
compilation terminated.
exit status 1

So I am now left with an inoperable system.

Expected behavior

I would have expected that I could update to ESP32 3.0.6

Arduino IDE version

Version: 2.3.3 Date: 2024-09-25T09:41:18.242Z CLI Version: 1.0.4 Copyright © 2024 Arduino SA

Operating system

Windows

Operating system version

Microsoft Windows Home version 10.0.22631 Build 22631

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@baelzabubba baelzabubba added the type: imperfection Perceived defect in any part of project label Oct 23, 2024
@martin230896
Copy link

martin230896 commented Oct 24, 2024

I had the same problem. I had to completely uninstall the old card and only then install version 3.0.7 to be successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants