Skip to content

.arduino15/packages is not a directory #529

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
SConaway opened this issue Dec 24, 2019 · 0 comments · Fixed by #530
Closed

.arduino15/packages is not a directory #529

SConaway opened this issue Dec 24, 2019 · 0 comments · Fixed by #530

Comments

@SConaway
Copy link
Contributor

Bug Report

On a fresh install, any command using the package manager fails.

Current behavior

# arduino-cli core update-index
Error initializing package manager: cannot initialize package manager: loading hardware packages: loading hardware from /root/.arduino15/packages: /root/.arduino15/packages is not a directory
# 

Expected behavior

# arduino-cli core update-index
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
Updating index: library_index.json downloaded                                                                                                                                                                      
Updating index: package_index.json downloaded
# 

Environment

  • CLI version (output of arduino-cli version):
# arduino-cli version
arduino-cli Version: 0.7.0 Commit: 3809fc3
  • OS and platform:
Any seems to cause this issue. I've noticed it on: 
1. Ubuntu 18.04 x64 in Docker
2. Ubuntu 19.10 x64
3. Fedora 31 x64

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants