[yocto] Apt-get is not working...

Miguel Aveiro ma at telensa.com
Thu Aug 17 01:30:29 PDT 2017


Well, I think you're missing the point of using Yocto. The idea is to
create your own distribution and manage it yourself...so don't expect a
mainstream Yocto apt repository for your target machine (RPi).

You can either include those missing libraries on your build and reflash
your RPi or set up a full apt repository yourself including the web server
and other stuff. Keep in mind that for older Yocto versions, the project
used to support smart package manager which has now moved to dnf because of
the lack of upstream maintenance of the first one. You can find information
about both on official Yocto documentation ;)

http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#migration-2.3-package-management-changes

On 17 August 2017 at 05:38, mohammed aqdam <mohammedaqdam at gmail.com> wrote:

> hello everyone,
> i was trying to build image for rpi 3 using yocto...
> after few attempts i have build the image...but it not had apt-get so
> i added IMAGE_INSTALL_append +=" apt"
> above line local.conf.
> now i apt-get is working but whenever i try to add any package it will
> give package not found error,
> so after digging a bit i found i need source.list and status file in
> /var/dpkg/ which were absent.
> i'm working on picamera using python for which i need to add picamera
> library in order to import its functions so i need apt-get to install
> that,so is there any way i can use that library without apt-get?
> so how to make apt-get to  work?
> is there any repository of yocto which i can use in source.list?
>
> thanks in advance...
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170817/c9c45c06/attachment.html>


More information about the yocto mailing list