You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/02/26 17:29:49 UTC
[GitHub] [mynewt-core] jcwren commented on issue #2507: Error creating initial 'myproj' project
jcwren commented on issue #2507:
URL: https://github.com/apache/mynewt-core/issues/2507#issuecomment-786786074
As a test, I created a new project, changed the `vers: 1.7.0` to `vers: 1-latest` and got this error:
```
jcw@debresc:~/Projects/myproj$ newt upgrade
Error: Repo "apache-mynewt-core" contains invalid version requirement: 1-lastest (Unknown stability (lastest) in version 1-lastest)
jcw@debresc:~/Projects/myproj$ vi project.yml
jcw@debresc:~/Projects/myproj$ newt upgrade
Downloading repository mynewt-core (commit: master) from https://github.com/apache/mynewt-core.git
Downloading repository mynewt-nimble (commit: master) from https://github.com/apache/mynewt-nimble.git
Downloading repository mcuboot (commit: master) from https://github.com/JuulLabs-OSS/mcuboot.git
Downloading repository mynewt-mcumgr (commit: master) from https://github.com/apache/mynewt-mcumgr.git
Making the following changes to the project:
install apache-mynewt-core (1.8.0)
install apache-mynewt-mcumgr (0.1.0)
install apache-mynewt-nimble (1.3.0)
install mcuboot (1.5.0)
Error: This version of newt (1.7.0) is incompatible with your version of the apache-mynewt-core repo (1.8.0); Please upgrade your newt tool to version 1.8.0
This version of newt (1.7.0) is incompatible with your version of the apache-mynewt-nimble repo (1.3.0); Please upgrade your newt tool to version 1.8.0
jcw@debresc:~/Projects/myproj$
```
I had installed newt as per the instructions.
```
2066 wget -qO - https://raw.githubusercontent.com/JuulLabs-OSS/debian-mynewt/master/mynewt.gpg.key | sudo apt-key add -
$ sudo tee /etc/apt/sources.list.d/mynewt.list <<EOF
deb https://raw.githubusercontent.com/JuulLabs-OSS/debian-mynewt/master latest main
EOF
$ sudo apt-get update -q -q
$ sudo apt-get install newt
$ sudo apt-get install gcc-multilib
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org