cancel
Showing results for 
Search instead for 
Did you mean: 

I cannot install X-LINUX-AI 2.2

AAoki.1
Associate

My environment

STM32MP157C-DK2

ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 4.0.4-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23 stm32mp1 ttySTM0

Linux stm32mp1 5.15.67 #1 SMP PREEMPT Thu Sep 8 10:32:54 UTC 2022 armv7l armv7l armv7l GNU/Linux

2.2 Configure the AI OpenSTLinux package repository

Once the board is booted, execute the following command in the console in order to configure the AI OpenSTLinux package repository:

root@stm32mp1:~# wget http://extra.packages.openstlinux.st.com/AI/3.1/pool/confi
g/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb
--2022-11-27 10:05:26--  http://extra.packages.openstlinux.st.com/AI/3.1/pool/config/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb
Resolving extra.packages.openstlinux.st.com... 52.219.169.48
Connecting to extra.packages.openstlinux.st.com|52.219.169.48|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1128 (1.1K) [application/x-debian-package]
Saving to: 'apt-openstlinux-ai_1.0_armhf.deb'
 
apt-openstlinux-ai_ 100%[===================>]   1.10K  --.-KB/s    in 0s
 
2022-11-27 10:05:27 (15.5 MB/s) - 'apt-openstlinux-ai_1.0_armhf.deb' saved [1128/1128]
 
root@stm32mp1:~# dpkg -i apt-openstlinux-ai_1.0_armhf.deb
(Reading database ... 15304 files and directories currently installed.)
Preparing to unpack apt-openstlinux-ai_1.0_armhf.deb ...
Unpacking apt-openstlinux-ai (1.0) over (1.0) ...
dpkg: dependency problems prevent configuration of apt-openstlinux-ai:
 apt-openstlinux-ai depends on apt-openstlinux (<< 3.2); however:
  Version of apt-openstlinux on system is 4.1-r0.
 
dpkg: error processing package apt-openstlinux-ai (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apt-openstlinux-ai
root@stm32mp1:~#

 Best regards

1 ACCEPTED SOLUTION

Accepted Solutions
Jean-Marc B
ST Employee

Hi @AAoki.1​ 

For your information, X-LINUX-AI packages version 2.2.0 have been released for the OpenSTLinux ecosystem 4.1.0 on our package repository server.

You can now download the apt-openstlinux-ai_1.0_armhf.deb for this ecosystem as described in the wiki page mentioned by Erwan:

~# wget http://extra.packages.openstlinux.st.com/AI/4.1/pool/config/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb
~# dpkg -i apt-openstlinux-ai_1.0_armhf.deb 

Best regards,

--JM

View solution in original post

5 REPLIES 5
Erwan SZYMANSKI
ST Employee

Hello @AAoki.1​,

Kirkstone Yocto version and Kernel 5.15 means that you are on a DV-4.0. When you follow the wiki https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_OpenSTLinux_Expansion_Package#Configure_the_AI_OpenSTLinux_package_repository, please execute the command provided for release 4.0.0.

Kind regards,

Erwan.

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order 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.
Jean-Marc B
ST Employee

Hi @AAoki.1​ 

As @Erwan SZYMANSKI​ mentioned it, you must download the file apt-openstlinux-ai_1.0_armhf.deb from the repository corresponding to your OpenSTLinux ecosystem.

Here, you use DV-4.1 hence you must download apt-openstlinux-ai_1.0_armhf.deb from the 4.1 repository.

However, AI packages for DV-4.1 are not yet available.

Best regards,

--JM

Jean-Marc B
ST Employee

Hi @AAoki.1​ 

For your information, X-LINUX-AI packages version 2.2.0 have been released for the OpenSTLinux ecosystem 4.1.0 on our package repository server.

You can now download the apt-openstlinux-ai_1.0_armhf.deb for this ecosystem as described in the wiki page mentioned by Erwan:

~# wget http://extra.packages.openstlinux.st.com/AI/4.1/pool/config/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb
~# dpkg -i apt-openstlinux-ai_1.0_armhf.deb 

Best regards,

--JM

VABRI
ST Employee

Hi @AAoki.1​ ,

The Wiki page have been updated to reflect the difference beetween 4.1 and 4.0 OpenSTLinux ecosystem.

https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_OpenSTLinux_Expansion_Package#Configure_the_AI_OpenSTLinux_package_repository

BR

Vincent


In order 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.
AAoki.1
Associate

Thank you for your answer.

root@stm32mp1:~# wget http://extra.packages.openstlinux.st.com/AI/4.1/pool/confi
g/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb
--2022-11-29 00:38:22--  http://extra.packages.openstlinux.st.com/AI/4.1/pool/config/a/apt-openstlinux-ai/apt-openstlinux-ai_1.0_armhf.deb
Resolving extra.packages.openstlinux.st.com... 52.219.169.36
Connecting to extra.packages.openstlinux.st.com|52.219.169.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1124 (1.1K) [application/x-debian-package]
Saving to: 'apt-openstlinux-ai_1.0_armhf.deb'
 
apt-openstlinux-ai_ 100%[===================>]   1.10K  --.-KB/s    in 0s
 
2022-11-29 00:38:23 (14.8 MB/s) - 'apt-openstlinux-ai_1.0_armhf.deb' saved [1124/1124]
 
root@stm32mp1:~# dpkg -i apt-openstlinux-ai_1.0_armhf.deb
(Reading database ... 15304 files and directories currently installed.)
Preparing to unpack apt-openstlinux-ai_1.0_armhf.deb ...
Unpacking apt-openstlinux-ai (1.0) over (1.0) ...
Setting up apt-openstlinux-ai (1.0) ...
root@stm32mp1:~#

i was able to install it successfully.

Thank you very much.

Best regards.