LLDP add ubuntu package problem

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

LLDP add ubuntu package problem

2,944 次查看
jackho
Contributor IV

Hi.

I tried to add Ubuntu package trcaeroute in ls-image-main.bb, based on LLDP 5.15.71

APTGET_EXTRA_PACKAGES += "\

        libvirt-daemon-system \

        traceroute \

"

After compiling, it will show the below error, do you have any idea what caused this error?

thanks.

Jack 

 

ERROR: ls-image-main-22.04.2-r0 do_rootfs: /usr/bin/apt-get failed to execute as expected!

ERROR: ls-image-main-22.04.2-r0 do_rootfs: ExecutionError('/hdd2/Public_hdd2_5T/jack_ho/LLDPUG/6.1.36/build_lx2160ardb-rev2/tmp/work/lx2160ardb_rev2-fsl-linux/ls-image-main/22.04.2-r0/temp/run.aptget_update_begin.49946', 1, None, None)

ERROR: Logfile of failure stored in: /hdd2/Public_hdd2_5T/jack_ho/LLDPUG/6.1.36/build_lx2160ardb-rev2/tmp/work/lx2160ardb_rev2-fsl-linux/ls-image-main/22.04.2-r0/temp/log.do_rootfs.49946

ERROR: Task (/hdd2/Public_hdd2_5T/jack_ho/LLDPUG/6.1.36/sources/meta-nxp-desktop/recipes-fsl/images/ls-image-main.bb:do_rootfs) failed with exit code '1'

标签 (1)
0 项奖励
回复
3 回复数

2,877 次查看
jackho
Contributor IV
 
0 项奖励
回复

2,878 次查看
jackho
Contributor IV

Hi @Oswalag 

Thanks for the info, I know I can add IMAGE_INSTALL += "traceroute", I test before, it works. but it is based the source from yocto.

Now I need install some packages from apt install, so I need add it from APTGET_EXTRA_PACKAGES

It seems LLDP had issue with apt install, from do_rootfs logs, it shows below error,

is it means source lists do not include traceroute? than how to correct do apt update before install the package?

Thanks.

Jack 

 

Package traceroute is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

 

ERROR: /usr/bin/apt-get failed to execute as expected!

 

 

0 项奖励
回复

2,892 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

Please try to add this at the end of your ls-image-main.bb, to add the package in your ls-image-main.bb

IMAGE_INSTALL += "traceroute" 

0 项奖励
回复