From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 66F5BE0095D; Wed, 20 May 2015 02:01:20 -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 7049CE0027F for ; Wed, 20 May 2015 02:01:14 -0700 (PDT) Received: from SOC-EXCH-02.invecas.local (10.0.30.9) by mail.invecas.com (10.0.30.132) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 20 May 2015 14:31:14 +0530 Received: from SOC-EXCH-02.invecas.local (10.0.30.9) by SOC-EXCH-02.invecas.local (10.0.30.9) with Microsoft SMTP Server (TLS) id 15.0.995.29; Wed, 20 May 2015 14:31:05 +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; Wed, 20 May 2015 14:31:05 +0530 From: Raghavendra Kakarla To: "yocto@yoctoproject.org" Thread-Topic: Usage of apt-get package in yocto Thread-Index: AQHQktqnOHeXTyFWeUSbAETCqs/IvQ== Date: Wed, 20 May 2015 09:01:04 +0000 Message-ID: <1432112441117.48793@inedasystems.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: 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: Wed, 20 May 2015 09:01:20 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_143211244111748793inedasystemscom_" --_000_143211244111748793inedasystemscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. Could you please help me for resolving this issue. Regards, Raghavendra K. --_000_143211244111748793inedasystemscom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

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 erro= r.


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.

--_000_143211244111748793inedasystemscom_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 39393E005B9; Wed, 20 May 2015 08:37:31 -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=-6.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_HI 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 * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.88 listed in list.dnswl.org] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BA5A5E0027F for ; Wed, 20 May 2015 08:37:30 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 20 May 2015 08:37:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,465,1427785200"; d="scan'208,217";a="697831170" Received: from alimon-thinkpad-w540.zpn.intel.com (HELO [10.219.4.36]) ([10.219.4.36]) by orsmga001.jf.intel.com with ESMTP; 20 May 2015 08:37:29 -0700 Message-ID: <555CAA84.30805@linux.intel.com> Date: Wed, 20 May 2015 10:38:44 -0500 From: =?windows-1252?Q?An=EDbal_Lim=F3n?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Raghavendra Kakarla , "yocto@yoctoproject.org" References: <1432112441117.48793@inedasystems.com> In-Reply-To: <1432112441117.48793@inedasystems.com> 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: Wed, 20 May 2015 15:37:31 -0000 Content-Type: multipart/alternative; boundary="------------030806080904070002040504" --------------030806080904070002040504 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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. > > > --------------030806080904070002040504 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit
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.




--------------030806080904070002040504-- 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_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EFB89E0096A; Thu, 21 May 2015 01:43:18 -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=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW 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 * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.178 listed in list.dnswl.org] Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C451DE005B9 for ; Thu, 21 May 2015 01:43:15 -0700 (PDT) Received: by qkx62 with SMTP id 62so1576934qkx.3 for ; Thu, 21 May 2015 01:43:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=lcB1lej+qgAkcRocqWPuiL2v92yiD2urzTFYYDsFU4I=; b=dP/rRe/cQ6bOoC/gGyZS1NIrJrEhPqqrqJ9ktLV6QQGWr44o/WUqRWsvSnJidu8YNM 4T3ccDyJTRmDzR4X9KjnEpyYNnUOVy58rOHuetzYKdd+q6abQycAVnj4VvaooD94ubfN 5dNO53N/eoy2HBxJsjhgtWL1hzMqcuSuRnIdm3exppXNYSpD85X9eVLvdG/u39l4OIwT YhUKBL4Nn/7GN2CIoFyGKqSxDf4K8Uorqe+YijZZSoztL8Ylk3WruM2ZdEj6pFc9UV90 s5ZreG9gXGXTgjTKF6IsUtctlxU9BjcjTmKT74Gm1BhXUZHhjhpW3DKB2wSXPMlnDiGb dJ9Q== X-Gm-Message-State: ALoCoQniifNb80gdornvjgXepSJm9d1UuePzIh9b/WlpfXnH1Tr7cUsmG9dRrObXRQJsuSFInlcc X-Received: by 10.55.18.155 with SMTP id 27mr2489445qks.36.1432197794651; Thu, 21 May 2015 01:43:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.102.231 with HTTP; Thu, 21 May 2015 01:42:53 -0700 (PDT) In-Reply-To: <1432185017343.69879@inedasystems.com> References: <1432112441117.48793@inedasystems.com> <555CAA84.30805@linux.intel.com> <1432185017343.69879@inedasystems.com> From: "Burton, Ross" Date: Thu, 21 May 2015 09:42:53 +0100 Message-ID: To: Raghavendra Kakarla Cc: "yocto@yoctoproject.org" 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 08:43:19 -0000 Content-Type: multipart/alternative; boundary=001a11473796cc74870516938873 --001a11473796cc74870516938873 Content-Type: text/plain; charset=UTF-8 On 21 May 2015 at 06:10, Raghavendra Kakarla < Raghavendra.Kakarla@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 --001a11473796cc74870516938873 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On 21 May 2015 at 06:10, Raghavendra Kakarla <Raghaven= dra.Kakarla@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 th= e error but this time it is different. It gives the error "unable to l= ocate package git".

Did you actually configure y= our sources.list, and run apt-get update?
<= br>
Ross
--001a11473796cc74870516938873--