* Usage of apt-get package in yocto
@ 2015-05-20 9:01 Raghavendra Kakarla
2015-05-20 15:38 ` Aníbal Limón
0 siblings, 1 reply; 4+ messages in thread
From: Raghavendra Kakarla @ 2015-05-20 9:01 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 519 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 5368 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Usage of apt-get package in yocto
2015-05-20 9:01 Usage of apt-get package in yocto Raghavendra Kakarla
@ 2015-05-20 15:38 ` Aníbal Limón
2015-05-21 5:10 ` Raghavendra Kakarla
0 siblings, 1 reply; 4+ messages in thread
From: Aníbal Limón @ 2015-05-20 15:38 UTC (permalink / raw)
To: Raghavendra Kakarla, yocto
[-- Attachment #1: Type: text/plain, Size: 848 bytes --]
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.
>
>
>
[-- Attachment #2: Type: text/html, Size: 1478 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Usage of apt-get package in yocto
2015-05-20 15:38 ` Aníbal Limón
@ 2015-05-21 5:10 ` Raghavendra Kakarla
2015-05-21 8:42 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: Raghavendra Kakarla @ 2015-05-21 5:10 UTC (permalink / raw)
To: Aníbal Limón, yocto
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]
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 <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,
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.
[-- Attachment #2: Type: text/html, Size: 5178 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Usage of apt-get package in yocto
2015-05-21 5:10 ` Raghavendra Kakarla
@ 2015-05-21 8:42 ` Burton, Ross
0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2015-05-21 8:42 UTC (permalink / raw)
To: Raghavendra Kakarla; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 783 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-21 8:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-20 9:01 Usage of apt-get package in yocto Raghavendra Kakarla
2015-05-20 15:38 ` Aníbal Limón
2015-05-21 5:10 ` Raghavendra Kakarla
2015-05-21 8:42 ` Burton, Ross
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.