Skip to main content
Associate
September 24, 2024
Question

Linux installation error

  • September 24, 2024
  • 3 replies
  • 3237 views
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

    3 replies

    Andrew Neil
    Super User
    September 24, 2024
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    shri1Author
    Associate
    September 24, 2024

    linux ubuntu 24LTS

    i had downloaded 1.15 stm32idecube linux installer

    Andrew Neil
    Super User
    September 24, 2024
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    shri1Author
    Associate
    September 24, 2024

    You posted this as a reply to the Posting Tips - it's not appropriate there, so merged here.

     

    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

     

    my os is ubuntu 24lts

    stm32cube ide linux installer

    JPonk.1
    Associate
    October 21, 2024

    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.
    Super User
    October 21, 2024

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

    JPonk.1
    Associate
    October 21, 2024

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

    Pavel A.
    Super User
    October 21, 2024

    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.