bitbake failed-There were unauthenticated packages and -y was used without

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

bitbake failed-There were unauthenticated packages and -y was used without

672 Views
prashant_chopad
Contributor II

Hello All,

I have iMX8M Mini EVK.

I did setup a Yocto toolchain for version L5.4.24_2.1.0 on my Ubuntu 20.04 LTS system.

my conf/local.conf:

MACHINE ??= 'imx8mmevk'
DISTRO ?= 'fsl-imx-xwayland'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

# Switch to Debian packaging and include package-management in the image PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native"
# Possible provider: cacao-native and jamvm-native
PREFERRED_PROVIDER_virtual/java-native = "jamvm-native"
# Optional since there is only one provider for now
PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"
PREFERRED_PROVIDER_java2-runtime = " openjdk-8-jre"
IMAGE_INSTALL_append = " openjdk-8                                                               "DISTRO_FEATURES_append = " pulseaudio"
IMAGE_INSTALL_append = " pulseaudio pulseaudio-server pulseaudio-misc"

when I did bitbake imx-image-multimedia, I am getting following error:

NOTE: Installing the following packages: avahi-locale-en-gb cogl-1.0-locale-en-gb glib-networking-locale-en-gb glibc-locale-en-gb gnome-themes-standard-locale-en-gb gstreamer1.0-locale-en-gb gstreamer1.0-plugins-bad-locale-en-gb gstreamer1.0-plugins-base-locale-en-gb gstreamer1.0-plugins-good-locale-en-gb gstreamer1.0-plugins-ugly-locale-en-gb gtk+-locale-en-gb gtk+3-locale-en gtk+3-locale-en-gb libatk-1.0-locale-en-gb libclutter-1.0-locale-en-gb libgdk-pixbuf-2.0-locale-en-gb libglib-2.0-locale-en-gb libjson-glib-1.0-locale-en-gb libpam-locale-en-gb libsoup-2.4-locale-en-gb mc-locale-en-gb powertop-locale-en-gb powertop-locale-en-us systemtap-locale-en xkeyboard-config-locale-en-gb
ERROR: Cannot fix broken dependencies. Command '/home/imx-yocto-bsp/imx8mmevk/tmp/work/imx8mmevk-poky-linux/imx-image-multimedia/1.0-r0/recipe-sysroot-native/usr/bin/apt-get -f install' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
glibc-binary-localedata-en-gb glibc-binary-localedata-en-us
The following NEW packages will be installed:
glibc-binary-localedata-en-gb glibc-binary-localedata-en-us
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1809 not fully installed or removed.
Need to get 0 B/465 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
glibc-binary-localedata-en-gb glibc-binary-localedata-en-us
E: There were unauthenticated packages and -y was used without --allow-unauthenticated

DEBUG: Python function do_rootfs finished

Appreciate your help to understand the issue here?

Thanks,

Prashant

0 Kudos
2 Replies

660 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @prashant_chopad 

Has it been executed bitbake imx-image-multimedia successfully before you modify the configuration file?

0 Kudos

657 Views
prashant_chopad
Contributor II

Hi @Zhiming_Liu ,

Yes, couple of months back, bitbake imx-image-multimedia was executed successfully.

Yesterday, I found that if I change package_deb to *_rpm in local.conf file:

I am able to build the image.

So how to make it successful for package_deb ?

Regards,

Prashant

0 Kudos