[yocto] OPKG package management issue

Hofemeier, Ulf ulf.hofemeier at intel.com
Tue Apr 18 08:17:27 PDT 2017


Hi Abhishek,

Can you please create this directory and see if opkg will work after that?

Thanks,
Ulf


From: <yocto-bounces at yoctoproject.org> on behalf of Abhishekh Awanti <abhishekh at relysys.co.in>
Date: Tuesday, April 18, 2017 at 4:15 AM
To: "yocto at yoctoproject.org" <yocto at yoctoproject.org>
Subject: [yocto] OPKG package management issue

Hi,

I am trying to install .ipk with opkg in yocto.

 If i run below command

    opkg install *.ipk

 I am getting the below error:-

 Collected errors:
 * opkg_conf_load: Could not create lock file /var/lib/opkg/lock: No such file or directory.

I did some research and followed this link

http://wiki.hioproject.org/index.php?title=Yocto:_Opkg_Package_Management_System_Set_Up

I came to know that one should add in the conf/local.conf
EXTRA_IMAGE_FEATURES = "package-management"

IMAGE_INSTALL_append = " opkg "

PACKAGE_CLASSES = "package_ipk"

Even though i am getting the same error.

"/var/lib/opkg/"  is existed in my image build directory, but after installing the image to the target device the "/var/lib/opkg/" is not appearing.

I am guessing that, the disappearance of the /var/lib/opkg folder may be causing the opkg error.

Can anybody please help me on this problem.

Thank you,
Abhishek



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170418/38b7dd60/attachment.html>


More information about the yocto mailing list