[yocto] Usage of apt-get package in yocto

Aníbal Limón anibal.limon at linux.intel.com
Wed May 20 08:38:44 PDT 2015


Hi Raghavendra,

On 20/05/15 04:01, Raghavendra Kakarla wrote:
> Hi,
>
>
> I have some requirement with apt-get in yocto genearted rootfs.
>
>
> I built the yocto source code with enabling the apt package.
>
>
> But after booting the image on my machine and run the "apt-get" command for installing some package it gives the following error.
>
>
> Could not open the file /var/lib/dpkg/status open(2: no such a file or directory).
>
> The package lists or status files could not be parsed or opened.
This error is because you need to add package-management to 
EXTRA_IMAGE_FEATURES in local.conf,

PACKAGE_CLASSES ?= "package_deb"
EXTRA_IMAGE_FEATURES = "debug-tweaks package-management"

Regards,
     alimon
>
>
> Could you please help me for resolving this issue.
>
>
> Regards,
>
> Raghavendra K.
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150520/2c323d03/attachment.html>


More information about the yocto mailing list