cancel
Showing results for 
Search instead for 
Did you mean: 

Linux installation error

shri1
Associate II
d64.deb'
Note, selecting 'st-stlink-udev-rules' instead of './st-stlink-udev-rules-1.0.3-2-linux-all.deb'
Note, selecting 'st-stm32cubeide-1.15.1' instead of './st-stm32cubeide-1.15.1-21094-20240412-1041_amd64.deb'
Note, selecting 'segger-jlink-udev-rules' instead of './segger-jlink-udev-rules-7.94h-linux-all.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
st-stm32cubeide-1.15.1 : Depends: libncurses5 but it is not installable
Depends: libpython2.7 but it is not installable
Depends: libwebkit2gtk-4.0-37 but it is not installable
E: Unable to correct problems, you have held broken packages.

 

Which STM32IDE we should download to fix this error

13 REPLIES 13

This is just typical of ST software development for Linux.

I also cannot install stm32cubeide because it depends on obsolete software such as python2.7 which has been replaced by python3.x and libncurses5 has been replaced by libncurses6. Telling someone to install these old packages  manually is  not a solution. The software needs to be updated to work with the current versions of Linux  - Ubuntu, Debian, etc. Don't tell me I need to install python2.7 which has been obsolete for years.

My OS environment: Linux Mint version 22 (wilma) on x86_64. Here's my attempt to install the latest deb package 1.16 IDE on Linux Mint:

Do you want to install Segger J-Link udev rules? [Y/n] n
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'st-stlink-server' instead of './st-stlink-server-2.1.1-1-linux-amd64.deb'
Note, selecting 'st-stlink-udev-rules' instead of './st-stlink-udev-rules-1.0.3-2-linux-all.deb'
Note, selecting 'st-stm32cubeide-1.16.1' instead of './st-stm32cubeide-1.16.1-22882-20240916-0822_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
st-stm32cubeide-1.16.1 : Depends: libncurses5 but it is not installable
Depends: libpython2.7 but it is not installable
E: Unable to correct problems, you have held broken packages.

Pavel A.
Evangelist III

IIRC python 2.7 and libncurses are dependencies of gdb in the ARM cross toolchain. Not of the cubeide itself.

Is the install script trying to install some ancient version of gdb for ARM?

Need to check, haven't looked there for a while. The install script installs dependencies for the cross toolchain so that it works))  Maybe installation of the toolchain can be made optional (along with its dependencies). Then users will have to go to toolchain manager and install a toolchain manually in any way, and sort out dependencies issues. They should be able at least build without debugging.