Skip to main content
JSlac
Associate
Sep 16, 2019 3:19 PM UTC
Question

How do I add sources to apt-get sources.list.d?

There are no repos defined in /etc/apt/sources.list.d/

I can't seem to use apt-get to install git or nano or anything....

This topic has been closed for replies.

4 replies

Olivier GALLIEN
ST Technical Moderator
Sep 17, 2019 1:13 PM UTC

Hi @JSlac​ 

Package installation with apt-get is not supported by default in our distribution.

You can use Yocto build system to add any extra packages.

https://wiki.st.com/stm32mpu/wiki/How_to_add_a_customer_application

Anyway, we are close to provide a "tip" to add apt-get support.

Keep you posted here soon.

Olivier

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.
JSlac
JSlacAuthor
Associate
Sep 17, 2019 1:19 PM UTC

Thanks Oliver,

if I can help test this tip, I'd be delighted. I have to go tell my superiors that I can't show them a demo on this board without getting to know Yocto and adding what we need to a layer.

Olivier GALLIEN
ST Technical Moderator
Sep 19, 2019 9:01 AM UTC

Hi @JSlac​ 

Sorry, I was wrong when I commit to provide a "tip" solution for apt-get.

We can not provide it. My mistake and apology for that.

If you detail what package you would like to add Community may help you to quickly point what to do with Yocto ?

Else you can consider to switch to "buildroot" as per introduce by our partner :

https://bootlin.com/blog/building-a-linux-system-for-the-stm32mp1-basic-system/

Hope it help

Olivier

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.
NPal.2
Associate III
Jul 27, 2021 12:09 PM UTC

I think we can create a seperate mysources.list file in /etc/apt/sources.list.d/ folder.

But doing apt-get update results in GPG error. I have opened a separate post to discuss it.