AnsweredAssumed Answered

How to enable apt-get  on IMX?

Question asked by ByungGuk Choi on Feb 25, 2018
Latest reply on Mar 2, 2018 by Bernhard Fink

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.