2024-08-07 09:06 PM - last edited on 2024-08-09 07:00 AM by Amel NASRI
Hello ST,
I downloaded the latest cube IDE v1.16 Debian Linux Installer from the official link, performed the following steps:
1. Extract the zip.
sudo unzip en.st-stm32cubeide_1.16.0_21983_20240628_1741_amd64.deb_bundle.sh.zip
2. Change permissions to run the extracted shell script
sudo chmod +x st-stm32cubeide_1.16.0_21983_20240628_1741_amd64.deb_bundle.sh
3. run the shell script
sudo ./st-stm32cubeide_1.16.0_21983_20240628_1741_amd64.deb_bundle.sh
I am stuck with the installation after accepting permissions please check the log below:
I ACCEPT (y) / I DO NOT ACCEPT (N) [N/y] y
License accepted.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'segger-jlink-udev-rules' instead of './segger-jlink-udev-rules-7.96j-linux-all.deb'
The following NEW packages will be installed:
segger-jlink-udev-rules
0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded.
Need to get 0 B/18.0 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/gp/Downloads/makeself_dir_1PdcaK/segger-jlink-udev-rules-7.96j-linux-all.deb segger-jlink-udev-rules all 7.96j [18.0 kB]
(Reading database ... 282777 files and directories currently installed.)
Preparing to unpack .../segger-jlink-udev-rules-7.96j-linux-all.deb ...
Unpacking segger-jlink-udev-rules (7.96j) ...
dpkg: error processing archive /home/gp/Downloads/makeself_dir_1PdcaK/segger-jlink-udev-rules-7.96j-linux-all.deb (--unpack):
trying to overwrite '/etc/udev/rules.d/99-jlink.rules', which is also in package jlink 7.963
Errors were encountered while processing:
/home/gp/Downloads/makeself_dir_1PdcaK/segger-jlink-udev-rules-7.96j-linux-all.deb
N: Download is performed unsandboxed as root as file '/home/gp/Downloads/makeself_dir_1PdcaK/segger-jlink-udev-rules-7.96j-linux-all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please help me proceed further.
Thanks,
Pawan
2024-08-08 07:54 AM
Hi @pawanST
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Billy
2024-08-08 01:33 PM - edited 2024-08-08 01:35 PM
While waiting for solution from ST: the error is caused by installation of J-Link support, which is optional and may be not needed for you at all. Try to delete or rename the conflicting thing (/etc/udev/rules.d/99-jlink.rules) before installing CubeIDE. Or uninstall package jlink 7.963. Restore it later if needed.
2024-08-09 12:23 AM
Pavel, Thank you for the response. As you mentioned, I deleted the 99-jlink.rules but it did not improve the situation..
Will try more in similar lines. Thanks for the direction.
@Billy OWEN , It's all right, if it is resolved, it will be helpful to everyone..
Thanks
Pawan