I followed description at https://github.com/nxp-mcuxpresso/vscode-for-mcux/wiki/Dependency-Installation. Downloaded MCUXpressoInstaller.deb.bin for Ubuntu. I ran following commands to install it. But I had fails. how to install it on Ubuntu?
<1st command>
./SSD2TB_LINK/projects/tools/nxp/MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Please run as root!
<2nd command>
sudo ./SSD2TB_LINK/projects/tools/nxp/MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Unpackaging...
INFO: Installation directory: /home/sukhwan.y/MCUXpressoInstaller
INFO: To start the installer, please run /home/sukhwan.y/MCUXpressoInstaller/MCUXpressoInstaller
chown: invalid group: ‘sukhwan.y:sukhwan.y’
<3rd command>
$ ~/MCUXpressoInstaller/MCUXpressoInstaller
TypeError: Cannot read properties of undefined (reading 'toString')
at w (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1187313)
at C (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1188037)
at S (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1187998)
at Object.error (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1188208)
at process.<anonymous> (/home/sukhwan.y/MCUXpressoInstaller/resources/app/main.js:2:1274420)
at process.emit (node:events:518:28)
at emitUnhandledRejection (node:internal/process/promises:252:13)
at warnWithErrorCodeUnhandledRejectionsMode (node:internal/process/promises:407:19)
at processPromiseRejections (node:internal/process/promises:475:17)
at process.processTicksAndRejections (node:internal/process/task_queues:106:32)
error: Uncaught rejection with reason: Error: EACCES: permission denied, mkdir '/home/sukhwan.y/MCUXpressoInstaller/logs' {"errno":-13,"code":"EACCES","syscall":"mkdir","path":"/home/sukhwan.y/MCUXpressoInstaller/logs"}
<4th command>
~ sudo ~/MCUXpressoInstaller/MCUXpressoInstaller
[0729/181424.604549:FATAL:electron/shell/app/electron_main_delegate.cc:288] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap
I have a question about the end of the response for "sudo ./SSD2TB_LINK/projects/tools/nxp/MCUXpressoInstaller.deb.bin" , which is "chown: invalid group: ‘sukhwan.y:sukhwan.y’"
My account is in the group of "ab02_sra_allusers". It looks it matters user group, doesn't it?
sudo ./SSD2TB_LINK/projects/tools/nxp/MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Unpackaging...
INFO: Installation directory: /home/sukhwan.y/MCUXpressoInstaller
INFO: To start the installer, please run /home/sukhwan.y/MCUXpressoInstaller/MCUXpressoInstaller
chown: invalid group: ‘sukhwan.y:sukhwan.y’
$ ll ~/MCUXpressoInstaller
total 228180
drwxr-xr-x 9 root root 4096 Jun 30 01:35 ./
drwxr-x--- 47 sukhwan.y ab02_sra_allusers 4096 Jul 31 14:01 ../
-rw-r--r-- 1 root root 9 Jun 30 01:35 buildnumber.txt
-rw-r--r-- 1 root root 0 Jun 30 01:35 .changelog
Thanks.
Hi @sukhwan
Yes, you're exactly right — the error message:
chown: invalid group: ‘sukhwan.y:sukhwan.y’
means the installer tried to set the ownership of a file or directory using a user:group pair (sukhwan.y:sukhwan.y), but the group sukhwan.y does not exist on your system.
I think it doesn't block the installer from working — it just means ownership wasn’t set correctly.
You can fix it by manually running chown with your real group.
BR
Harry
Hi @sukhwan
I tested it just now.
I downloaded the MCUXpressoInstaller.deb.bin.
zhangh@tic-public:~/software$ ./MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Please run as root!
zhangh@tic-public:~/software$ sudo ./MCUXpressoInstaller.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing MCUXpresso Installer 100%
Unpackaging...
INFO: Installation directory: /home/zhangh/MCUXpressoInstaller
INFO: To start the installer, please run /home/zhangh/MCUXpressoInstaller/MCUXpressoInstaller
And i try to run /home/zhangh/MCUXpressoInstaller/MCUXpressoInstaller
It can work.
BR
Harry