Re: [yocto] Usage of apt-get package in yocto

2015-05-21 Thread Burton, Ross
On 21 May 2015 at 06:10, Raghavendra Kakarla <
raghavendra.kaka...@inedasystems.com> wrote:

> 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".


Did you actually configure your sources.list, and run apt-get update?

Ross
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Usage of apt-get package in yocto

2015-05-20 Thread Raghavendra Kakarla
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 
Sent: Wednesday, May 20, 2015 9:08 PM
To: Raghavendra Kakarla; yocto@yoctoproject.org
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
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Usage of apt-get package in yocto

2015-05-20 Thread Aníbal Limón


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
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Usage of apt-get package in yocto

2015-05-20 Thread Raghavendra Kakarla
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.


Could you please help me for resolving this issue.


Regards,

Raghavendra K.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto