* opkg problem
@ 2011-06-06 14:52 Gary Thomas
2011-06-06 15:24 ` Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2011-06-06 14:52 UTC (permalink / raw)
To: Poky Project
Something has changed recently in my images:
# opkg update
Collected errors:
* opkg_conf_load: Could not create lock file /var/lib/opkg/lock: No such file or directory.
Actually, it seems that the whole of /var/lib/opkg (databases, etc) have
gone missing. Shouldn't this get populated as the rootfs image is created?
In any case, any ideas where /var/lib/opkg might have vanished to?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: opkg problem
2011-06-06 14:52 opkg problem Gary Thomas
@ 2011-06-06 15:24 ` Saul Wold
2011-06-06 15:53 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2011-06-06 15:24 UTC (permalink / raw)
To: Gary Thomas; +Cc: Poky Project
On 06/06/2011 07:52 AM, Gary Thomas wrote:
> Something has changed recently in my images:
> # opkg update
> Collected errors:
> * opkg_conf_load: Could not create lock file /var/lib/opkg/lock: No such
> file or directory.
> Actually, it seems that the whole of /var/lib/opkg (databases, etc) have
> gone missing. Shouldn't this get populated as the rootfs image is created?
>
> In any case, any ideas where /var/lib/opkg might have vanished to?
>
Gary,
Depending on what image you are building, you may need to add
"package-managment" into your IMAGE_FEATURES list. This is due the to
the change from Phil B. (87780fc09b066525e47d0f50ee5497db54d304cd).
Sau!
> Thanks
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: opkg problem
2011-06-06 15:24 ` Saul Wold
@ 2011-06-06 15:53 ` Gary Thomas
0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2011-06-06 15:53 UTC (permalink / raw)
To: Saul Wold; +Cc: Poky Project
On 06/06/2011 09:24 AM, Saul Wold wrote:
> On 06/06/2011 07:52 AM, Gary Thomas wrote:
>> Something has changed recently in my images:
>> # opkg update
>> Collected errors:
>> * opkg_conf_load: Could not create lock file /var/lib/opkg/lock: No such
>> file or directory.
>> Actually, it seems that the whole of /var/lib/opkg (databases, etc) have
>> gone missing. Shouldn't this get populated as the rootfs image is created?
>>
>> In any case, any ideas where /var/lib/opkg might have vanished to?
>>
> Gary,
>
> Depending on what image you are building, you may need to add "package-managment" into your IMAGE_FEATURES list. This is due the to the change from Phil B.
> (87780fc09b066525e47d0f50ee5497db54d304cd).
Yes, it does fix my problem. I think that change is a bit incomplete
though, as it has deleted the databases used by opkg, but opkg still
remains. One gets the same error as above when just booting in this case.
It would seem to me that if package-management is turned off (and hence
the databases removed), then the tool(s) should be removed as well.
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-06 15:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06 14:52 opkg problem Gary Thomas
2011-06-06 15:24 ` Saul Wold
2011-06-06 15:53 ` Gary Thomas
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.