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 during install: Error downloading tool esp32:openocd-esp32@v0.11.0-esp32-20221026: no versions available for the current OS #2353

Open
3 tasks done
lonebots opened this issue Oct 2, 2023 · 7 comments
Labels
os: linux Specific to Linux operating system topic: packaging Related to the release distribution package type: imperfection Perceived defect in any part of project

Comments

@lonebots
Copy link

lonebots commented Oct 2, 2023

Describe the problem

I was trying to install esp32 board to my machine using the arduino-cli and this was the result

$ arduino-cli core install esp32:esp32
Downloading packages...
esp32:xtensa-esp32-elf-gcc@esp-2021r2-patch5-8.4.0 esp32:xtensa-esp32-elf-gcc@esp-2021r2-patch5-8.4.0 already downloaded
esp32:xtensa-esp32s2-elf-gcc@esp-2021r2-patch5-8.4.0 esp32:xtensa-esp32s2-elf-gcc@esp-2021r2-patch5-8.4.0 already downloaded
esp32:xtensa-esp32s3-elf-gcc@esp-2021r2-patch5-8.4.0 esp32:xtensa-esp32s3-elf-gcc@esp-2021r2-patch5-8.4.0 already downloaded
esp32:xtensa-esp-elf-gdb@11.2_20220823 esp32:xtensa-esp-elf-gdb@11.2_20220823 already downloaded
esp32:riscv32-esp-elf-gcc@esp-2021r2-patch5-8.4.0 esp32:riscv32-esp-elf-gcc@esp-2021r2-patch5-8.4.0 already downloaded
esp32:riscv32-esp-elf-gdb@11.2_20220823 esp32:riscv32-esp-elf-gdb@11.2_20220823 already downloaded
Error during install: Error downloading tool esp32:openocd-esp32@v0.11.0-esp32-20221026: no versions available for the current OS, try contacting hristo@espressif.com

To reproduce

  1. install arduino-cli
  2. run the following command arduino-cli core install esp32:esp32

Expected behavior

The expected behavior is the cli tool to properly installed the requested board.

Arduino CLI version

Version: 0.34.1 Commit: 048415c Date: 2023-08-31T11:46:44Z

Operating system

Linux

Operating system version

22.04.3 LTS (Jammy Jellyfish)

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@lonebots lonebots added the type: imperfection Perceived defect in any part of project label Oct 2, 2023
@alessio-perugini
Copy link
Contributor

alessio-perugini commented Oct 2, 2023

🤔 That usually happens when there aren't any tools available that match your host architecture.
Do you mind sending the output of uname -a ? 🙏

@alessio-perugini alessio-perugini added the status: waiting for information More information must be provided before work can proceed label Oct 2, 2023
@expert-amateur
Copy link

🤔 That usually happens when there aren't any tools available that match your host architecture. Do you mind sending the output of uname -r ? 🙏

Hi, I have the same problem, here's my output for uname -r:
6.2.0-33-generic

Thank you!

@alessio-perugini
Copy link
Contributor

alessio-perugini commented Oct 3, 2023

@expert-amateur my bad, I've noticed that I typed the wrong flag 🤦. Could you run uname -a? That would tell me among other info if you're running 32 or 64 bit.

@lukew151
Copy link

Same here:

$ uname -a
Linux luke-NL40-50CU 5.15.0-84-generic #93-Ubuntu SMP Tue Sep 5 17:16:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ arduino-cli core install esp32:esp32
Downloading packages...
esp32:xtensa-esp32-elf-gcc@esp-2021r2-patch5-8.4.0 esp32:xtensa-esp32-elf-gcc@esp-2021r2-patch5-8.4.0 already downloaded
esp32:xtensa-esp32s2-elf-gcc@esp-2021r2-patch5-8.4.0 esp32:xtensa-esp32s2-elf-gcc@esp-2021r2-patch5-8.4.0 already downloaded
esp32:xtensa-esp32s3-elf-gcc@esp-2021r2-patch5-8.4.0 esp32:xtensa-esp32s3-elf-gcc@esp-2021r2-patch5-8.4.0 already downloaded
esp32:xtensa-esp-elf-gdb@11.2_20220823 esp32:xtensa-esp-elf-gdb@11.2_20220823 already downloaded
esp32:riscv32-esp-elf-gcc@esp-2021r2-patch5-8.4.0 esp32:riscv32-esp-elf-gcc@esp-2021r2-patch5-8.4.0 already downloaded
esp32:riscv32-esp-elf-gdb@11.2_20220823 esp32:riscv32-esp-elf-gdb@11.2_20220823 already downloaded
Error during install: Error downloading tool esp32:openocd-esp32@v0.11.0-esp32-20221026: no versions available for the current OS, try contacting hristo@espressif.com

$ arduino-cli version
arduino-cli  Version: 0.34.2 Commit: 963c1a76 Date: 2023-09-11T10:05:41Z

I'm running Ubuntu Jammy Jellyfish on a intel i7 laptop.

@lonebots
Copy link
Author

This is my result for uname -a

Linux Legion 6.2.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct  6 10:23:26 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I think this is the issue when, trying to install arduino-cli from the snap. I got the issue rectified after following the official documentation for installing arduino-cli

@brainexe
Copy link

same here, I used the snap and got exactly the same error...using the prebuild binary worked fine :)

$ arduino-cli version # from snap
arduino-cli  Version: 0.34.2 Commit: 963c1a76 Datum: 2023-09-11T10:05:41Z

$ uname -a
Linux matze 6.5.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct  7 01:35:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/issue
Ubuntu 23.10 

@umbynos
Copy link
Contributor

umbynos commented Oct 26, 2023

There are some problems with snap installation. I think the problem lies on the strict confinement: https://snapcraft.io/docs/snap-confinement used here

The cli installed with snap does not use normal ~/.arduino15 dir but a confined ~/snap/arduino-cli/43/.arduino15
Maybe @manchoz can help us with that 🙏

@per1234 per1234 added os: linux Specific to Linux operating system topic: packaging Related to the release distribution package and removed status: waiting for information More information must be provided before work can proceed labels Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: linux Specific to Linux operating system topic: packaging Related to the release distribution package type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

7 participants