Skip to main content
Associate
November 15, 2024
Question

apt install not work

  • November 15, 2024
  • 1 reply
  • 1398 views

Hi,

I have a STM32MP157F-DK2 when I try to install something with apt-get I get this error:
root@stm32mp1:~# apt install python3
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package python3

The date is correct.

If instead I try to run an apt-get update I receive this message:

 

root@stm32mp1:~# apt-get update

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA).
The detailed content licenses can be found at https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.

Reading package lists... Done


how can i fix it? i need to install python-pip with all dependencies

 

Best regards
AB

 

 

1 reply

PatrickF
Technical Moderator
November 15, 2024

Hi @Delios82 

please use apt-get install like:

apt-get install python3 python3-pip

 

Regards

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.NEW ! Sidekick STM32 AI agent, see here
Delios82Author
Associate
November 15, 2024

Hi @PatrickF

 

I had already tried but the result is the same

 

Regards

Ozone
Principal
November 15, 2024

Perhaps it is really not in the repositories you have configured. At least not the ARM version you would need for the MP1-DK.

This list is usually located in /etc/apt/sources.list .