Hi Alimon,

After adding the lines what you mentioned in the local.conf file and tried to 
get the git packages with "apt-get " it also give the error but this time it is 
different. It gives the error "unable to locate package git".


I have a doubt here, when I run the apt-get in yocto distribution where it can 
get the given package.


Could you please clarify it.


Thnaks in advance.


Regards,

Raghavendra K.

________________________________
From: Aníbal Limón <[email protected]>
Sent: Wednesday, May 20, 2015 9:08 PM
To: Raghavendra Kakarla; [email protected]
Subject: Re: [yocto] Usage of apt-get package in yocto


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.





-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to