Skip to main content
JSlac
Associate
September 16, 2019
Question

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

  • September 16, 2019
  • 4 replies
  • 1568 views

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
September 17, 2019

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
September 17, 2019

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
September 19, 2019

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
July 27, 2021

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.