Can't install STM32CubeIDE in Ubuntu 23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-04-27 10:16 PM
Getting the below error while installing
The following packages have unmet dependencies:
st-stm32cubeide-1.12.1 : Depends: libpython2.7 but it is not installable
E: Unable to correct problems, you have held broken packages.
- Labels:
-
OpenSTLinux
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-04-27 10:26 PM
I have manually installed libpython2.7 from the source code since it's not available in any package managers. You can see it's available in my machine from below terminal output. But this didn't solve the issue
ls /usr/local/lib/libpython2.7*
/usr/local/lib/libpython2.7.a
/usr/local/lib/libpython2.7.so.1.0
/usr/local/lib/libpython2.7.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-06-25 11:34 AM
"I have the same problem, but with Kubuntu 23.04. Maybe someone from the ST company can help?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-06-26 6:15 AM
Hello @Raees
First let me thank you for posting.
I am sorry to inform you that until this moment the the Ubuntu 23.04 is note yet supported.
The entire list of OS supported could be found in the release note RN0114.
KR,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-06-26 8:24 PM
Yes it is invisible to apt exactly because it was installed manually. They should not have removed python2.7 packages. Or well... time to move to python3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-07-05 6:39 AM - edited 2023-07-05 6:41 AM
There is a good post on ubuntu forums... worked for me...
https://ubuntuforums.org/showthread.php?t=2486174
after this manually installing python2.7 you can use the update-alternatives command to set the current default python version.
sudo update-alternatives --config python
which gives you a menu to select the version.
After following instructions on the forum I added:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
to have the menu make more sense...
This case is all for a system wide installation where python is located at /usr/bin/python.
Hope this helps..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-10-17 4:34 AM
I had the same problem, missing libraries/packages.
But after a bit of debugging, this sequence of steps solved it.
My system is:
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
Steps:
wget http://ftp.de.debian.org/debian/pool/main/libf/libffi/libffi7_3.3-6_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/p/python2.7/libpython2.7-minimal_2.7.18-8+deb11u1_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/p/python2.7/libpython2.7-dev_2.7.18-8+deb11u1_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/p/python2.7/libpython2.7-dbg_2.7.18-8+deb11u1_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/p/python2.7/libpython2.7-stdlib_2.7.18-8+deb11u1_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/p/python2.7/libpython2.7_2.7.18-8+deb11u1_amd64.deb
dpkg -i libffi7_3.3-6_amd64.deb
dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
dpkg -i libpython2.7-minimal_2.7.18-8+deb11u1_amd64.deb
dpkg -i libpython2.7-stdlib_2.7.18-8+deb11u1_amd64.deb
dpkg -i libpython2.7-dbg_2.7.18-8+deb11u1_amd64.deb
dpkg -i libpython2.7_2.7.18-8+deb11u1_amd64.deb
dpkg -i libpython2.7-dev_2.7.18-8+deb11u1_amd64.deb
I don't recommend messing around with update-alternatives, it can seriously screw up your graphics environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-10-18 6:59 AM
I had the same problem on Ubuntu 23.04 with installations of versions 1.13.0, 1.13.01 and 1.13.2.
Version: you need to install not “STM32CubeIDE Debian Linux Installer”, but “STM32CubeIDE Generic Linux Installer”. Everything is going well!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-10-27 12:01 AM
hi ! your solution is quite useful. I use kubuntu/debian with 6.5 linux kernel.
if someone cannot install the libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb. try to install this one.
http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-10-28 9:36 AM
Worked for me. Thank you.
