LLDP add ubuntu package problem

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

LLDP add ubuntu package problem

2,953件の閲覧回数
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,886件の閲覧回数
jackho
Contributor IV
 
0 件の賞賛
返信

2,887件の閲覧回数
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,901件の閲覧回数
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 件の賞賛
返信