From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C5F9CE0096A; Wed, 20 May 2015 22:10:58 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mail.invecas.com (mx2.invecas.com [112.133.222.227]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C067AE005B9 for ; Wed, 20 May 2015 22:10:53 -0700 (PDT) Received: from SOC-EXCH-01.invecas.local (10.0.30.8) by mail.invecas.com (10.0.30.132) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 21 May 2015 10:40:50 +0530 Received: from SOC-EXCH-02.invecas.local (10.0.30.9) by SOC-EXCH-01.invecas.local (10.0.30.8) with Microsoft SMTP Server (TLS) id 15.0.995.29; Thu, 21 May 2015 10:40:42 +0530 Received: from SOC-EXCH-02.invecas.local ([::1]) by SOC-EXCH-02.invecas.local ([fe80::bc3d:32eb:402d:2fae%15]) with mapi id 15.00.0995.028; Thu, 21 May 2015 10:40:42 +0530 From: Raghavendra Kakarla To: =?iso-8859-1?Q?An=EDbal_Lim=F3n?= , "yocto@yoctoproject.org" Thread-Topic: [yocto] Usage of apt-get package in yocto Thread-Index: AQHQktqnOHeXTyFWeUSbAETCqs/IvZ2EpDIAgAE85R4= Date: Thu, 21 May 2015 05:10:41 +0000 Message-ID: <1432185017343.69879@inedasystems.com> References: <1432112441117.48793@inedasystems.com>, <555CAA84.30805@linux.intel.com> In-Reply-To: <555CAA84.30805@linux.intel.com> Accept-Language: en-US, en-IN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.42.88] MIME-Version: 1.0 Subject: Re: Usage of apt-get package in yocto X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 05:10:58 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_143218501734369879inedasystemscom_" --_000_143218501734369879inedasystemscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 tim= e 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=EDbal Lim=F3n 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 dire= ctory). 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_FEA= TURES in local.conf, PACKAGE_CLASSES ?=3D "package_deb" EXTRA_IMAGE_FEATURES =3D "debug-tweaks package-management" Regards, alimon Could you please help me for resolving this issue. Regards, Raghavendra K. --_000_143218501734369879inedasystemscom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi Alimon,


After adding the lines what you mentioned in the local.conf file and tri= ed 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 p= ackage 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=EDbal Lim=F3n <= ;anibal.limon@linux.intel.com>
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,=0A=
=0A=
=0A=
I have some requirement with apt-get in yocto genearted rootfs.=0A=
=0A=
=0A=
I built the yocto source code with enabling the apt package.=0A=
=0A=
=0A=
But after booting the image on my machine and run the "apt-get" c=
ommand for installing some package it gives the following error.=0A=
=0A=
=0A=
Could not open the file /var/lib/dpkg/status open(2: no such a file or dire=
ctory).=0A=
=0A=
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_FEA= TURES in local.conf,

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

Regards,
    alimon
=0A=
Could you please help me for resolving this issue.=0A=
=0A=
=0A=
Regards,=0A=
=0A=
Raghavendra K.=0A=
=0A=



--_000_143218501734369879inedasystemscom_--