How to upgrade legato version on red WP7702


I built an app, but it failed to start up due to app legato version and system legato version mismatching:

root@swi-mdm9x28-wp:~# app info smsApp
status: stopped smsApp
app.md5: d71e32e26f4be93a003ea5c5912bb872
legato.version: 20.04.0

root@swi-mdm9x28-wp:~# legato version

How could I fix this? Do I upgrade system legato or degrade app legato version?

Yes, you can try either method


Could you be a little bit specific, how do I degrade app legato version?

Thank you

In the vscode, you can choose the package of profile

I have been using command line, can I do it via command line?

Before you do mkapp, you need to go to correct package to do “. bin/configlegatoenv”

did you mean leaf package?

are you doing the mkapp in “leaf shell”?
If yes, you need to setup profile with dedicated package which has its legato version.