| Summary: | OPKG package management issue | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] opkg | Reporter: | Abhishek <abhishekh> |
| Component: | opkg | Assignee: | Alejandro del Castillo <alejandro.delcastillo> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
This doesn't seem to be a problem with opkg, but a problem with the image lacking /var/lib/opkg (without that folder, opkg will correctly error out). Closing as not a bug. Can you please help me why the /var/lib/opkg folder is not showing in device? But i checked, it exists in my build directory. Thank you as I mention, that is not an opkg issue, but an issue with the build tool you are using (yocto). I believe you already opened a thread on the yocto mailing list. That's the correct venue to ask for help. |
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