LLDP add ubuntu package problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LLDP add ubuntu package problem

261 Views
jackho
Contributor III

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'

Labels (1)
0 Kudos
Reply
3 Replies

196 Views
jackho
Contributor III
 
0 Kudos
Reply

197 Views
jackho
Contributor III

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 Kudos
Reply

211 Views
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 Kudos
Reply