cancel
Showing results for 
Search instead for 
Did you mean: 

Ubuntu 22.04.4 LTS STM32 Cube IDE installation errors

pawanST
Visitor

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

0 REPLIES 0