How to use apt-get install on imx8mplus platform

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use apt-get install on imx8mplus platform

1,692 次查看
t2865k5
Contributor I

Dear NXP ,

HW : imx8mplus

SW: repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-langdale -m imx-6.1.1-1.0.1.xml

 

..\imx8mplus_build\conf\local.conf

# Switch to Debian packaging and include package-management in the image
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
IMAGE_INSTALL:append = " apt"

 

(1) bitbake imx-image-full

(2)  cat /etc/apt/sources.list
deb https://deb.debian.org/debian/ bullseye main contrib
deb-src https://deb.debian.org/debian/ bullseye main contrib
deb https://deb.debian.org/debian/ bullseye-backports main contrib
deb-src https://deb.debian.org/debian/ bullseye-backports main contrib

(3) apt-get update :

t2865k5_0-1698147615920.png

(4) curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
apt-key adv --keyserver keys.gnupg.net --recv-keys PUBKEY

t2865k5_1-1698147828931.png

(5) 

t2865k5_2-1698147901029.png

 

Could you tell me how fix this issue . How can I use apt-get update command successfully

 

 

0 项奖励
回复
3 回复数

1,639 次查看
t2865k5
Contributor I

Dear Harvey ,

it can't apt-get update successfully . Please refer to the red boxed text.

t2865k5_0-1698380359019.png

 

 

0 项奖励
回复

1,617 次查看
Harvey021
NXP TechSupport
NXP TechSupport

As we don't provide the security authentication for apt package manage as debian required, so can't guarantee the security of package download.

If leave the warning along doesn't work, have you tried to store key in trusted.gpg.d?

 

Best regards

Harvey

 

0 项奖励
回复

1,643 次查看
Harvey021
NXP TechSupport
NXP TechSupport

The APT tool is installed in image by default. 

From the log, which tells a warning.

 

Best regards

Harvey

0 项奖励
回复