install jlink failed using wsl2 with ubuntu22.4 as a non-root user

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

install jlink failed using wsl2 with ubuntu22.4 as a non-root user

529 次查看
bricle444
Contributor I

hello, I'm trying to install some basic tools via MCUXpresso Installer provided by MCUXpresso for VS Code, I'm encountering a non-root related issue (I'm using wsl2 with ubuntu22.4 as a non-root user), the output log states here :

Installing packages: SEGGER J-Link Starting category
[info] SEGGER J-Link is installed with version V8.12a, but a newer version V8.24 is available.
[info] Checking hash for file /home/shan/MCUXpressoInstaller/.cache/JLink_Linux_V824_x86_64.deb...
[info] Installing SEGGER J-Link
[info] Executing command "pkexec dpkg -i --force-all /home/shan/MCUXpressoInstaller/.cache/JLink_Linux_V824_x86_64.deb"
[error] Command pkexec exited with code 127.
[info] Additional NXP debugger support already installed. Version: 24.12.02 *** Installation completed with errors ***
 
i tried searching online but couldn't find some useful tips . Has anyone encountered a similar issue?
image.png
 
0 项奖励
回复
1 回复

422 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi @bricle444 

I am sorry for the delayed response. 

I have not saw this error before, are you still facing this problem? 

I wonder if this related to the wsl2 and root permission issues.  I would recommend trying to check the installation manually on your end and check if this error appears again. Here is the link for the Segger J-Link 

https://www.segger.com/downloads/jlink/

Just select the version that the MCUxpresso VS code installer tries to install

diego_charles_0-1746640570806.png

Best regards, 

Diego

 

0 项奖励
回复