How to enable apt-get on IMX?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable apt-get on IMX?

ソリューションへジャンプ
8,803件の閲覧回数
byunggukchoi
Contributor II

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.

ラベル(3)
0 件の賞賛
返信
1 解決策
6,452件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

it seems apt-get command is for linux, did you build linux OS on the board? try to confirm that you need to install the vim to the board or ubuntu (build environment)

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
6,453件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

it seems apt-get command is for linux, did you build linux OS on the board? try to confirm that you need to install the vim to the board or ubuntu (build environment)

0 件の賞賛
返信
6,452件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

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 

0 件の賞賛
返信