Skip to content

Cannot install new board managers #1959

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

Closed
3 tasks done
angrest opened this issue Nov 1, 2022 · 3 comments
Closed
3 tasks done

Cannot install new board managers #1959

angrest opened this issue Nov 1, 2022 · 3 comments
Assignees
Labels
conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project

Comments

@angrest
Copy link

angrest commented Nov 1, 2022

Describe the problem

An existing github-action (not used for a month) now breaks if I try to install another platform:

Run arduino-cli config init
[2](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:2)
  arduino-cli config init
[3](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:3)
  arduino-cli core update-index
[4](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:4)
  arduino-cli core upgrade
[5](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:5)
  arduino-cli core install ATTinyCore:avr  --additional-urls http://drazzy.com/package_drazzy.com_index.json
[6](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:6)
  shell: /usr/bin/bash -e {0}
[7](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:7)
  env:
[8](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:8)
    REPO_PATH: libraries/pocketBME280
[9](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:10)
Config file written to: /home/runner/.arduino15/arduino-cli.yaml
[10](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:11)

[11](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:12)
Downloading index: library_index.tar.bz2 0 B / 2.15 MiB    0.00%
[12](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:13)
Downloading index: library_index.tar.bz2 downloaded
[13](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:14)

[14](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:15)
Downloading index: package_index.tar.bz2 0 B / 43.47 KiB    0.00%
[15](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:16)
Downloading index: package_index.tar.bz2 downloaded
[16](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:17)

[17](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:18)
Downloading index: package_index.tar.bz2 0 B / 43.47 KiB    0.00%
[18](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:19)
Downloading index: package_index.tar.bz2 downloaded
[19](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:20)
Downloading missing tool builtin:[email protected]...
[20](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:21)

[21](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:22)
builtin:[email protected] 0 B / 108.99 KiB    0.00%
[22](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:23)
builtin:[email protected] downloaded
[23](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:24)
Installing builtin:[email protected]...
[24](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:25)
builtin:[email protected] installed
[25](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:26)
Downloading missing tool builtin:[email protected]...
[26](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:27)

[27](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:28)
builtin:[email protected] downloaded
[28](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:29)
Installing builtin:[email protected]...
[29](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:30)
builtin:[email protected] installed
[30](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:31)
Downloading missing tool builtin:[email protected]...
[31](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:32)

[32](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:33)
builtin:[email protected] downloaded
[33](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:34)
Installing builtin:[email protected]...
[34](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:35)
builtin:[email protected] installed
[35](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:36)
Downloading missing tool builtin:[email protected]...
[36](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:37)

[37](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:38)
builtin:[email protected] downloaded
[38](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:39)
Installing builtin:[email protected]...
[39](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:40)
builtin:[email protected] installed
[40](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:41)
All the cores are already at the latest version
[41](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:42)
Error initializing instance: Loading index file: loading json index file /home/runner/.arduino15/package_drazzy.com_index.json: open /home/runner/.arduino15/package_drazzy.com_index.json: no such file or directory
[42](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:43)
Error initializing instance: Loading index file: loading json index file /home/runner/.arduino15/package_drazzy.com_index.json: open /home/runner/.arduino15/package_drazzy.com_index.json: no such file or directory
[43](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:44)
Invalid argument passed: Found 0 platform for reference "ATTinyCore:avr":
[44](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:45)

[45](https://github.com/angrest/pocketBME280/actions/runs/3370241682/jobs/5590895387#step:4:46)
Error: Process completed with exit code 7.

To reproduce

I can reproduce this in a fresh ubuntu docker container:

host:~:# docker run --name ubuntu-latest -h ubuntu-latest -e LANG=C.UTF-8 -it ubuntu /bin/bash -l
root@ubuntu-latest:/# apt update
<output truncated>
All packages are up to date.
root@ubuntu-latest:/# apt -y install curl
<output truncated>
done.
root@ubuntu-latest:/# curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh -s nightly-latest
Installing in //bin
ARCH=ARMv7
OS=Linux
Using curl as download tool
Downloading https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_ARMv7.tar.gz
arduino-cli  Version: nightly-20221025 Commit: f239754 Date: 2022-10-25T01:35:48Z installed successfully in //bin
root@ubuntu-latest:/# arduino-cli -v core install ATTinyCore:avr  --additional-urls http://drazzy.com/package_drazzy.com_index.json
INFO[0000] Config file not found, using default values  
INFO[0000] arduino-cli version nightly-20221025         
INFO[0000] Updating libraries index                     
Downloading index: library_index.tar.bz2 downloaded                                                                                                                                                                                               
INFO[0003] Updating index                                url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
Downloading index: package_index.tar.bz2 downloaded                                                                                                                                                                                               
INFO[0004] Loading hardware from: /root/.arduino15/packages 
INFO[0004] Checking signature                            index=/root/.arduino15/package_index.json signatureFile=/root/.arduino15/package_index.json.sig trusted=true
Error initializing instance: Loading index file: loading json index file /root/.arduino15/package_drazzy.com_index.json: open /root/.arduino15/package_drazzy.com_index.json: no such file or directory
ERRO[0004] Error initializing instance: Loading index file: loading json index file /root/.arduino15/package_drazzy.com_index.json: open /root/.arduino15/package_drazzy.com_index.json: no such file or directory 
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded                                                                                                                                                                                                           
INFO[0005] Installing tool                               Tool="builtin:[email protected]"
Installing builtin:[email protected]...
INFO[0005] Tool installed                                Tool="builtin:[email protected]"
builtin:[email protected] installed
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded                                                                                                                                                                                                          
INFO[0006] Installing tool                               Tool="builtin:[email protected]"
Installing builtin:[email protected]...
INFO[0006] Tool installed                                Tool="builtin:[email protected]"
builtin:[email protected] installed
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded                                                                                                                                                                                                            
INFO[0006] Installing tool                               Tool="builtin:[email protected]"
Installing builtin:[email protected]...
INFO[0006] Tool installed                                Tool="builtin:[email protected]"
builtin:[email protected] installed
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded                                                                                                                                                                                                         
INFO[0006] Installing tool                               Tool="builtin:[email protected]"
Installing builtin:[email protected]...
INFO[0007] Tool installed                                Tool="builtin:[email protected]"
builtin:[email protected] installed
INFO[0007] Loading tools from dir: /root/.arduino15/packages/builtin/tools 
INFO[0007] Loaded tool                                   tool="builtin:[email protected]"
INFO[0007] Loaded tool                                   tool="builtin:[email protected]"
INFO[0007] Loaded tool                                   tool="builtin:[email protected]"
INFO[0007] Loaded tool                                   tool="builtin:[email protected]"
INFO[0007] Loading libraries index file                  index=/root/.arduino15/library_index.json
INFO[0008] Adding libraries dir                          dir=/root/Arduino/libraries location=user
INFO[0008] Executing `arduino-cli core install`         
INFO[0008] Parsing reference ATTinyCore:avr             
INFO[0008] Loading hardware from: /root/.arduino15/packages 
INFO[0008] Loading package builtin from: /root/.arduino15/packages/builtin 
INFO[0008] Checking existence of 'tools' path: /root/.arduino15/packages/builtin/tools 
INFO[0008] Loading tools from dir: /root/.arduino15/packages/builtin/tools 
INFO[0008] Loaded tool                                   tool="builtin:[email protected]"
INFO[0008] Loaded tool                                   tool="builtin:[email protected]"
INFO[0008] Loaded tool                                   tool="builtin:[email protected]"
INFO[0008] Loaded tool                                   tool="builtin:[email protected]"
INFO[0008] Checking signature                            index=/root/.arduino15/package_index.json signatureFile=/root/.arduino15/package_index.json.sig trusted=true
Error initializing instance: Loading index file: loading json index file /root/.arduino15/package_drazzy.com_index.json: open /root/.arduino15/package_drazzy.com_index.json: no such file or directory
ERRO[0008] Error initializing instance: Loading index file: loading json index file /root/.arduino15/package_drazzy.com_index.json: open /root/.arduino15/package_drazzy.com_index.json: no such file or directory 
INFO[0008] Loading libraries index file                  index=/root/.arduino15/library_index.json
INFO[0009] Adding libraries dir                          dir=/root/Arduino/libraries location=user
Invalid argument passed: Found 0 platform for reference "ATTinyCore:avr":

ERRO[0009] Invalid argument passed: Found 0 platform for reference "ATTinyCore:avr": 

If I manually download the JSON file and put it into .arduino, it does work:

root@ubuntu-latest:/# curl http://drazzy.com/package_drazzy.com_index.json -o ~/.arduino15/package_drazzy.com_index.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  207k  100  207k    0     0   347k      0 --:--:-- --:--:-- --:--:--  348k
root@ubuntu-latest:/# arduino-cli -v core install ATTinyCore:avr  --additional-urls http://drazzy.com/package_drazzy.com_index.json
INFO[0000] Config file not found, using default values  
INFO[0000] arduino-cli version nightly-20221025         
INFO[0000] Loading hardware from: /root/.arduino15/packages 
INFO[0000] Loading package builtin from: /root/.arduino15/packages/builtin 
INFO[0000] Checking existence of 'tools' path: /root/.arduino15/packages/builtin/tools 
INFO[0000] Loading tools from dir: /root/.arduino15/packages/builtin/tools 
INFO[0000] Loaded tool                                   tool="builtin:[email protected]"
INFO[0000] Loaded tool                                   tool="builtin:[email protected]"
INFO[0000] Loaded tool                                   tool="builtin:[email protected]"
INFO[0000] Loaded tool                                   tool="builtin:[email protected]"
INFO[0000] Checking signature                            index=/root/.arduino15/package_index.json signatureFile=/root/.arduino15/package_index.json.sig trusted=true
INFO[0000] Checking signature                            error="opening signature file: open /root/.arduino15/package_drazzy.com_index.json.sig: no such file or directory" index=/root/.arduino15/package_drazzy.com_index.json signatureFile=/root/.arduino15/package_drazzy.com_index.json.sig
INFO[0000] Loading libraries index file                  index=/root/.arduino15/library_index.json
INFO[0001] Adding libraries dir                          dir=/root/Arduino/libraries location=user
INFO[0001] Executing `arduino-cli core install`         
INFO[0001] Parsing reference ATTinyCore:avr             
INFO[0001] Loading hardware from: /root/.arduino15/packages 
INFO[0001] Loading package builtin from: /root/.arduino15/packages/builtin 
INFO[0001] Checking existence of 'tools' path: /root/.arduino15/packages/builtin/tools 
INFO[0001] Loading tools from dir: /root/.arduino15/packages/builtin/tools 
INFO[0001] Loaded tool                                   tool="builtin:[email protected]"
INFO[0001] Loaded tool                                   tool="builtin:[email protected]"
INFO[0001] Loaded tool                                   tool="builtin:[email protected]"
INFO[0001] Loaded tool                                   tool="builtin:[email protected]"
INFO[0001] Checking signature                            index=/root/.arduino15/package_index.json signatureFile=/root/.arduino15/package_index.json.sig trusted=true
INFO[0001] Checking signature                            error="opening signature file: open /root/.arduino15/package_drazzy.com_index.json.sig: no such file or directory" index=/root/.arduino15/package_drazzy.com_index.json signatureFile=/root/.arduino15/package_drazzy.com_index.json.sig
INFO[0001] Loading libraries index file                  index=/root/.arduino15/library_index.json
INFO[0002] Adding libraries dir                          dir=/root/Arduino/libraries location=user
INFO[0002] Running from console, will run post-install by default 
Downloading packages...
arduino:[email protected] downloaded                                                                                                                                                                                              
arduino:[email protected] downloaded                                                                                                                                                                                                        
ATTinyCore:[email protected] downloaded                                                                                                                                                                                                      
ATTinyCore:[email protected] downloaded                                                                                                                                                                                                                   
INFO[0009] Installing tool                               Tool="arduino:[email protected]"
Installing arduino:[email protected]...
INFO[0039] Tool installed                                Tool="arduino:[email protected]"
arduino:[email protected] installed
INFO[0039] Installing tool                               Tool="arduino:[email protected]"
Installing arduino:[email protected]...
INFO[0039] Tool installed                                Tool="arduino:[email protected]"
arduino:[email protected] installed
INFO[0039] Installing tool                               Tool="ATTinyCore:[email protected]"
Installing ATTinyCore:[email protected]...
INFO[0039] Tool installed                                Tool="ATTinyCore:[email protected]"
ATTinyCore:[email protected] installed
INFO[0039] Installing platform                           platform="ATTinyCore:[email protected]"
Installing platform ATTinyCore:[email protected]...
INFO[0040] Running post_install script                   platform="ATTinyCore:[email protected]"
Configuring platform....
INFO[0040] Platform installed                            platform="ATTinyCore:[email protected]"
Platform ATTinyCore:[email protected] installed
INFO[0040] Loading hardware from: /root/.arduino15/packages 
INFO[0040] Loading package ATTinyCore from: /root/.arduino15/packages/ATTinyCore/hardware 
INFO[0040] Checking signature                            error="opening signature file: open /root/.arduino15/packages/ATTinyCore/hardware/avr/1.5.2/installed.json.sig: no such file or directory" index=/root/.arduino15/packages/ATTinyCore/hardware/avr/1.5.2/installed.json signatureFile=/root/.arduino15/packages/ATTinyCore/hardware/avr/1.5.2/installed.json.sig
INFO[0040] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0040] Loaded platform                               platform="ATTinyCore:[email protected]"
INFO[0040] Checking existence of 'tools' path: /root/.arduino15/packages/ATTinyCore/tools 
INFO[0040] Loading tools from dir: /root/.arduino15/packages/ATTinyCore/tools 
INFO[0040] Loaded tool                                   tool="ATTinyCore:[email protected]"
INFO[0040] Loading package arduino from: /root/.arduino15/packages/arduino 
INFO[0040] Checking existence of 'tools' path: /root/.arduino15/packages/arduino/tools 
INFO[0040] Loading tools from dir: /root/.arduino15/packages/arduino/tools 
INFO[0040] Loaded tool                                   tool="arduino:[email protected]"
INFO[0040] Loaded tool                                   tool="arduino:[email protected]"
INFO[0040] Loading package builtin from: /root/.arduino15/packages/builtin 
INFO[0040] Checking existence of 'tools' path: /root/.arduino15/packages/builtin/tools 
INFO[0040] Loading tools from dir: /root/.arduino15/packages/builtin/tools 
INFO[0040] Loaded tool                                   tool="builtin:[email protected]"
INFO[0040] Loaded tool                                   tool="builtin:[email protected]"
INFO[0040] Loaded tool                                   tool="builtin:[email protected]"
INFO[0040] Loaded tool                                   tool="builtin:[email protected]"
INFO[0040] Checking signature                            index=/root/.arduino15/package_index.json signatureFile=/root/.arduino15/package_index.json.sig trusted=true
INFO[0040] Checking signature                            error="opening signature file: open /root/.arduino15/package_drazzy.com_index.json.sig: no such file or directory" index=/root/.arduino15/package_drazzy.com_index.json signatureFile=/root/.arduino15/package_drazzy.com_index.json.sig
INFO[0040] Adding libraries dir                          dir=/root/.arduino15/packages/ATTinyCore/hardware/avr/1.5.2/libraries location=platform
INFO[0040] Loading libraries index file                  index=/root/.arduino15/library_index.json
INFO[0041] Adding libraries dir                          dir=/root/Arduino/libraries location=user

Expected behavior

board manager is installed without errors.

Arduino CLI version

nightly-20221025

Operating system

Linux

Operating system version

Linux ubuntu-latest 5.4.199-odroidxu4 #22.05.3 SMP PREEMPT Wed Jun 22 07:29:40 UTC 2022 armv7l armv7l armv7l GNU/Linux

Additional context

This is reproducible with both the ATTTiny board manager from the example above as well as with the ESP32 board manager https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

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
@angrest angrest added the type: imperfection Perceived defect in any part of project label Nov 1, 2022
@per1234
Copy link
Contributor

per1234 commented Nov 1, 2022

Hi @angrest. You must run the arduino-cli core update-index command before core install.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2022
@per1234 per1234 self-assigned this Nov 1, 2022
@per1234 per1234 added the conclusion: invalid Issue/PR not valid label Nov 1, 2022
@angrest
Copy link
Author

angrest commented Nov 1, 2022

did not solve the problem.
freshly created docker container as above

root@ubuntu-latest:/# arduino-cli config init
Config file written to: /root/.arduino15/arduino-cli.yaml
root@ubuntu-latest:/# arduino-cli core update-index
Downloading index: library_index.tar.bz2 downloaded                             
Downloading index: package_index.tar.bz2 downloaded                             
Downloading index: package_index.tar.bz2 downloaded                             
root@ubuntu-latest:/# arduino-cli core install esp32:esp32 --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded                                          
Installing builtin:[email protected]...
builtin:[email protected] installed
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded                                       
Installing builtin:[email protected]...
builtin:[email protected] installed
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded                                         
Installing builtin:[email protected]...
builtin:[email protected] installed
Downloading missing tool builtin:[email protected]...
builtin:[email protected] downloaded                                        
Installing builtin:[email protected]...
builtin:[email protected] installed
Error initializing instance: Loading index file: loading json index file /root/.arduino15/package_esp32_index.json: open /root/.arduino15/package_esp32_index.json: no such file or directory
Error initializing instance: Loading index file: loading json index file /root/.arduino15/package_esp32_index.json: open /root/.arduino15/package_esp32_index.json: no such file or directory
Invalid argument passed: Found 0 platform for reference "esp32:esp32":

@per1234
Copy link
Contributor

per1234 commented Nov 1, 2022

If you are going to specify package index URLs via the --additional-urls flag, you must do that in every command that relies on that information. core update-index very much relies on that information.

If you need additional assistance using Arduino CLI, we are always happy to help out over on its dedicated category in the Arduino forum:

https://forum.arduino.cc/c/software/arduino-cli/89

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

No branches or pull requests

2 participants