2024-09-24 08:01 AM - last edited on 2024-09-24 08:21 AM by Andrew Neil
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
2024-10-21 08:25 AM
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.
2024-10-21 09:26 AM
IIRC python 2.7 and libncurses are dependencies of gdb in the ARM cross toolchain. Not of the cubeide itself.
2024-10-21 01:15 PM
Is the install script trying to install some ancient version of gdb for ARM?
2024-10-21 01:36 PM
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.