2024-03-01 09:44 AM
I'm using the Board STM32MP157F-DK2 on a Linux Ubuntu 22.04
I was trying to follow the 1.3.1 step at 'https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_Starter_package#Install_all_X-LINUX-AI_packages', when this happened:
~ apt-get install ./apt-openstlinux-ai_1.0_armhf.deb
Reading package lists... Done
Building dependency tree... Done
Note, selecting 'apt-openstlinux-ai' instead of './apt-openstlinux-ai_1.0_armhf'
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:
apt-openstlinux-ai : Depends: apt-openstlinux (>= 5.0-r0) but 4.0-r0.4 is to bd E: Unable to correct problems, you have held broken packages.
How can i update the apt-openstlinux? When i tried to update directly through terminal, it just retorned that it's already at the most recent version:
~ apt install apt-openstlinux
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-openstlinux is already the newest version (4.0-r0.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I think I've downloaded the 'STM32MP1 OpenSTLinux Starter Package 5.0.0' as it ordered, but I can't surpass this error.
Solved! Go to Solution.
2024-03-04 12:13 AM
I think you have some discrepancies between the installed image on your board and the AI apt configuration.
From the output you gave, I see the package apt-openstlinux is based on the tag 4.0. It means the installed OpenSTLinux image is based on the ecosystem 4.0.0
If you wish to continue with this image, please download the corresponding AI apt configuration:
wget http://extra.packages.openstlinux.st.com/AI/4.0/pool/config/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb
And then install this package and do the update as described in the documentation.
However, I would strongly advise you to update your OpenSTLinux ecosystem to the last available version 5.0.0.
Best regards
--JM
2024-03-04 12:13 AM
I think you have some discrepancies between the installed image on your board and the AI apt configuration.
From the output you gave, I see the package apt-openstlinux is based on the tag 4.0. It means the installed OpenSTLinux image is based on the ecosystem 4.0.0
If you wish to continue with this image, please download the corresponding AI apt configuration:
wget http://extra.packages.openstlinux.st.com/AI/4.0/pool/config/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb
And then install this package and do the update as described in the documentation.
However, I would strongly advise you to update your OpenSTLinux ecosystem to the last available version 5.0.0.
Best regards
--JM
2024-03-05 06:17 AM
Thank you for the response @Jean-Marc B !
You are right, actually thought I've installed the OpenSTLinux 5.0.0, but as it wasn't working, I tried to install again.
I realized that, at some point at the Download, my USB connection deactivated and VirtualBox haven't connected automatically, but I didn't realize it at that time and thought it was complete. So I was still using the ecosystem 4.0.0:
DISTRO_VERSION = 4.0.1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.1
Now it actually installed.
DISTRO_VERSION = 4.2.1-openstlinux-6.1-yocto-mickledore-mp1-v23.06.21
And the "apt-openstlinux-ai_1.0_armhf.deb" installed.
Gratefully,
Tobias Klein.
2024-07-06 08:46 PM
Excuse me, I encountered the same issue when trying to install X-Linux-AI, but I don’t know how to update the OpenSTLinux version to above version 5.0.0. Could you provide me with a tutorial link? It seems that the version of my system is quite outdated.
Here is my system error message:
root@ATK-MP157:/var/cache/apt/archives# apt-get install ./apt-openstlinux-ai_1.0 _armhf.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'apt-openstlinux-ai' instead of './apt-openstlinux-ai_1.0_armhf.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: apt-openstlinux-ai : Depends: apt-openstlinux (>= 5.0-r0) but 2.1-r0.0 is to be installed E: Unable to correct problems, you have held broken packages.
2024-07-08 01:31 AM
Please follow this wiki page to upgrade your system to the ecosystem 5.1.0:
https://wiki.st.com/stm32mpu/wiki/Getting_started
Then follow this wiki page to install the X-Linux-AI packages:
https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_Starter_package
Best regards,
--JM