Skip to main content
Visitor II
December 23, 2023
Question

STM32CubeIDE 1.14.0 Depends: libncurses5 but it is not installable

  • December 23, 2023
  • 4 replies
  • 9289 views

Hello team,

I'm using linux (debian) and I want to start learning micro-controllers.

My friend as a gift bought me a Nucleo64-F303RE.

When I start installation of STM32CubeIDE an error occurred:

 

     The following information may help to resolve the situation:

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

 

I've looked it up and it seems that libncurses5 is an old version and now system running libncurses6.

And an old package is not reachable now on.

There is some way to pass it through?

Thanks for help in advance.

4 replies

Pavel A.
December 23, 2023

This IMHO really ought to be fixed long ago. Why does CubeIDE need libncurses at all? can this dependency be removed for good?

Associate II
December 24, 2023

@Pavel A.  this question should be asked to @Semer CHERNI ...

 

@mrpst  Do you know why libncurses5 is not available on your distribution ? Which Debian version you have ? Do you use Wayland ?

If it is no more installable through apt-get then you may have a look at https://packages.debian.org/search?keywords=libncurses5 for manual installation.

Another idea: libncurses5 comes with X-CUBE-AI pack version 8.1.0 in Utilities folder. But this implies you already have a working tool to install it before you try to install STM32CubeIDE...

Rim LANDOLSI
ST Employee
December 27, 2023

Hello @mrpst and welcome to the community,

Could you indicate which STM32CubeIDE version you have installed from ST site. Because the libcurses library cannot be installed with some of these versions.
It would also be helpful to provide the OS version you are using.

 

Thanks,

Rim

Explorer
February 7, 2024

Hello @Rim LANDOLSI,

I have this issue

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

trying to install stm32CUBEide 1.14.0 on:

Debian GNU/Linux 12 (bookworm), Window system X11, GNOME 43.9

Any support would be appreciated.

Thanks.

Graduate
February 22, 2024

You have to install STM32CubeIDE Generic Linux Installer, and not the STM32CubeIDE Debian Linux Installer.

 

GAuye
Associate
June 6, 2024

This solution solve this issue in my Lubuntu installation. Thank you!!!