platformio-home
platformio-home copied to clipboard
Could not install espressif32 ESP32
PIO Core Call Error: "Platform Manager: Installing espressif32\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nPlatform Manager: [email protected] has been installed!\nTool Manager: Installing espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80%Unpacking...\nTool Manager: Warning! Package Mirror: [Errno 28] No space left on device\nTool Manager: Looking for another mirror...\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80%Unpacking...\nTool Manager: Warning! Package Mirror: [Errno 28] No space left on device\nTool Manager: Looking for another mirror...\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80%Unpacking...\nTool Manager: Warning! Package Mirror: [Errno 28] No space left on device\nTool Manager: Looking for another mirror...\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80%Unpacking...\nTool Manager: Warning! Package Mirror: [Errno 28] No space left on device\nTool Manager: Looking for another mirror...\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0%Unpacking...\nTool Manager: Warning! Package Mirror: [Errno 28] No space left on device\nTool Manager: Looking for another mirror...\n\n\nPackageException: Could not install package 'espressif/toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5' for 'linux_x86_64' system"
The important part of the error is buried.
[Errno 28]** No space left on device**\nTool Manager: Looking for another mirror..
Now the installer is being kind of dumb. If you're out of space on your local installation target (GCC + Libraries + Binutils + everything else > small) it's not like "lookinfor for another mirror" is going to find one that's amaller. It's likely to try another mirror, try to download it, fail, and then fuss again - and it does.
So your immediate resolution is to free up space or point it to a more capacious location.
The actual bugreport here for PlatformIO is to look for errno values that represent actual local errors (ENOSPC, EPERM when writing to $TMPDIR, etc.) and treat those as more fatal than transient network errors which may, in fact, actually resolvable by blindly retrying.