[poky] opkg problem

Gary Thomas gary at mlbassoc.com
Mon Jun 6 08:53:05 PDT 2011


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



More information about the poky mailing list