I'm a beginner in Yocto Project and bought a IMX8 EVB. I successfully built "core-image-sato" image with the following configuration to enable apt-get command.
IMAGE_FEATURES += " package-management ssh-server-openssh "
IMAGE_INSTALL_append +=" apt"
But when tyring to "apt-get install vim" on the EVB board, the following errors are occurred.
root@cl-som-imx8:~# apt-get install vim
Reading package lists... Error!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file - open (2: No such file or directory)
E: Problem opening
E: The package lists or status file could not be parsed or opened.
How can the errors be fixed?
Thanks in advance.
已解决! 转到解答。
Having apt-get available as a program is one thing, having a web server with a repository is another.
Maybe these documents answer some of your questions:
Yocto Project Package Management - smart
How to install apt-get to the Yocto Project image - i.MXDev Blog