Then in visual studio code i installed the extensions for legato, opened the leaf tab and selected ‘add to profile’ to the swi-wp77_6.0.1 package, and then goet the following error:
Executing task: leaf profile config --add-package swi-wp77_6.0.1 SWI-WP77 && leaf --non-interactive profile sync SWI-WP77
ERROR:
Unknown package wp77-legato_21.05.0-202110290357
HINT:
check available packages with leaf search
* The terminal process "/bin/bash '-c', 'leaf profile config --add-package swi-wp77_6.0.1 SWI-WP77 && leaf --non-interactive profile sync SWI-WP77'" terminated with exit code: 2.
* Terminal will be reused by tasks, press any key to close it.
After trying some things in the Leaf commandline, e.g. leaf search, leaf profile switch and leaf profile sync which all gave similar issues. I then tried adding swi-wp77-wp77_5.0.1 this worked correctly, so i tried adding the 6.0.1 version again and this kept failing with the ‘unknown package’ error.
I do not currently have access to a virtual or real machine running Ubuntu, however I have had at least the download part work previously in vscode in the past. I can probably attempt this tomorrow.
In the current version however I still get this error after adding the vscode support 200624:
just tried that on Ubuntu 16 real PC, no problem is found:
> Executing task: leaf --non-interactive update --add-package swi-wp77_6.0.1 <
Do you want to add package swi-wp77_6.0.1? (Y/n)
Profile is out of sync
Packages to install: wp77-modem-image_15.1, wp77-legato-image_21.05.0-202212280324, wp77-linux-image_SWI9X06Y_03.00.13.00, wp77-image_6.0.1, swi-wp77_6.0.1
Total size: 115.7 MB
Do you want to continue? (Y/n)
Run sync steps for swi-aptdeps-image_1.0
Run sync steps for swi-license_1.2
Run sync steps for swi-verify-aptdeps_1.7.210909
Checking required apt packages..
It is recommended to have the latest version of swiflash swicwe
sudo apt-get update && sudo apt-get install --upgrade -y swiflash swicwe
Do you want to execute this command (Y/n)? n
Skip update for swiflash swicwe . Problem may happen during package installation due to the out-of-date version.
All system dependencies are OK
Run sync steps for swi-verify-license_1.4.190813
License already accepted: sierra-v1
Downloading 5 package(s)
[1/5] Installing wp77-modem-image_15.1
[2/5] Installing wp77-legato-image_21.05.0-202212280324
[3/5] Installing wp77-linux-image_SWI9X06Y_03.00.13.00
[4/5] Installing wp77-image_6.0.1
Run install steps for wp77-image_6.0.1
Generating device image: 9999999_9907618_SWI9X06Y_02.36.08.09_00_GENERIC_001.079_000-full.spk
Generating device image: 9999999_9907787_SWI9X06Y_02.36.06.00_00_ATT_001.067_005-full.spk
Generating device image: 9999999_9908088_SWI9X06Y_02.22.12.00_00_VERIZON_001.042_004-full.spk
Generating device image: 9999999_9908397_SWI9X06Y_02.36.08.02_00_TELSTRA_001.061_001-full.spk
Generating device image: 9999999_9908788_SWI9X06Y_02.36.08.09_00_SIERRA_001.049_000-full.spk
[5/5] Installing swi-wp77_6.0.1
Terminal will be reused by tasks, press any key to close it.
Gives the same result unfortunately, could it be that the download link is currently broken and that because you have installed it previously it doesn’t attempt to download?
I have run it now, the swi-fx30-catm_4.2.0 did manage to install correctly, however now switching back to swi-wp77_6.0.1 is still not working with the same ‘unknown package’ error
Is it ok to download and install swi-wp77_6.0.0.beta ?
no idea on WSL (seems it does not support symbolic links?)
probably you need to compile in virtual machine or real linux PC