Skip to content

Intermittent rootfs error like "Depends: cryptodev-module but it is not installable" #2414

@thochstein

Description

@thochstein

There is an intermittent build break at the rootfs stage for kernel modules that cannot be installed. The kernel is linux-imx.

ERROR: test-internal-qt6-1.0-r0 do_rootfs: Unable to install packages. Command '/home/bamboo/IMXYOCTO-FULL17-MX6SLL-20/yocto/build/tmp/work/imx6sllevk-poky-linux-gnueabi/test-internal-qt6/1.0/recipe-sysroot-native/usr/bin/apt-get  install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove  apt curl dpkg firmwared optee-client optee-os os-release packagegroup-base-extended packagegroup-core-boot packagegroup-core-eclipse-debug packagegroup-core-full-cmdline packagegroup-core-nfs-client packagegroup-core-sdk packagegroup-core-ssh-openssh packagegroup-core-standalone-sdk-target packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-core-tools-testapps packagegroup-core-weston packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-optee-imx packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps packagegroup-imx-internal packagegroup-imx-isp packagegroup-imx-ml packagegroup-imx-restricted-tools packagegroup-imx-security packagegroup-qt6-imx packagegroup-security-parsec packagegroup-security-tpm2 packagegroup-tools-bluetooth psplash run-postinsts softhsm swtpm tzdata weston-xwayland xterm' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
packagegroup-fsl-tools-testapps : Depends: cryptodev-module but it is not installable
E: Unable to correct problems, you have held broken packages.

Cryptodev-module is a frequent offender, in fact, every time there is a failure, it is one of them, but sometimes there are other kernel modules like jailhouse and some others from the main kernel.

There are some customers that have seen the same issue. Doing cleansstate usually fixes it.
https://community.nxp.com/t5/i-MX-Processors/Yocto-How-to-install-file-to-rootfs/m-p/1639616?profile.language=en
https://community.nxp.com/t5/i-MX-Processors/IMX8-bitbake-image-fail-with-package-depend-error/m-p/1914887
https://community.nxp.com/t5/i-MX-Processors/Yocto4-2-package-have-umet-dependencies/m-p/1697263

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions