Problems installing 2023 LTS toolchain with 2022.6 Toolchain

Hi,
I am running into issues when trying to install the AXCF2152 2023 LTS SDK toolchain for the AXCF2152 with the 2022.6 PLCNext CLI toolchain. Here is the process that I am following on ubuntu 22.04 (inside a dev container → NB: this process worked in the past for earlier versions of the CLI toolchain and sdk’s)

                                        1. Install "PLCnext_Toolchain_Linux_2022.6.sh" with the following process --> ./PLCnext_Toolchain_Linux_2022.6.sh --accept"
                                        2. Install the 2023 LTS sdk for AXCF2152. Here is where it encounters problems. Namely : 

" sudo plcncli install sdk -d /opt/plcnext_axcf2152_sdk -p pxc-glibc-x86_64-axcf2152-image-sdk-cortexa9t2hf-neon-axcf2152-toolchain-2023.0.sh

[0%] Install SDK.

The format of the file ‘/workspaces/ppl/.devcontainer/plcnext/pxc-glibc-x86_64-axcf2152-image-sdk-cortexa9t2hf-neon-axcf2152-toolchain-2023.0.sh’ is not supported. Please proceed manually.
→ Did not find the expected usage information.
The expected information need to include the options ‘-y’ and ‘-d’.
The following usage information was given:"

When I run the above toolchain install bash file manually, I can see the -y and -d options (if I use the -h option).

Does anyone have any ideas where I am going wrong ? Or is there something that is wrong with the 2022.6 CLI toolchain ?

Cheers,

Lindsay

Hi Lindsay, unfortunately that is a known issue that has been reported here:
Version 2022.6 cannot install SDK version 2022.6 on Linux · Issue #14 · PLCnext/PLCnext_CLI To reproduce on a Debian or Ubuntu machine: Install plcncli version 2022.0. Download the SDK for AXC F 2152 version 2022.6 Install the SDK using the plcncli = > success. Uninstall the SDK and delete… Until the problem is found and solved by the developers, you should be able to use this work-around:

                                        * Execute the SDK script on the command-line, outside the PLCnext CLI. You will be asked for an installation directory.
                                        * Once the SDK is installed, you can use the plcncli command:

plcncli set setting SdkPaths Path/to/sdk --add

Thanks Martin. Can confirm that this resolves the issue.

Cheers,
Lindsay