Packages have unmet dependencies #hardknott #bitbake #kernelmodule


fabatera
 

Hi all,

I'm trying to debug this issue for quite a while but couldn't get any helpful indication on how to solve it.
(In case it matters, the build runs on a docker container with shared volumes for SSTATE and Downloads. )

The issue: First image build works ok. But "bitbake -c clean packagegroup-modules-test" and rebuild generates the error message below.
- my_dev package is inside packagegroup-modules-test.

ERROR: core-image-test-1.0-r0 do_rootfs: Unable to install packages. Command '/long_path/core-image-test/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove __many_packages_here__ packagegroup-modules-test' returned 100:
 Reading package lists...
 Building dependency tree...
 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:
  kernel-module-hci-uart-my_dev-sdiouart-5.10.52-lts-5.10.y+g0e9bc956f2ca : Depends: kernel-5.10.52-lts-5.10.y+g0e9bc956f2ca but it is not installable
  kernel-module-mlan-my_dev-sdiouart-5.10.52-lts-5.10.y+g0e9bc956f2ca : Depends: kernel-5.10.52-lts-5.10.y+g0e9bc956f2ca but it is not installable
  kernel-module-sdw61x-my_dev-sdiouart-5.10.52-lts-5.10.y+g0e9bc956f2ca : Depends: kernel-5.10.52-lts-5.10.y+g0e9bc956f2ca but it is not installable
                                                                           Depends: kernel-module-cfg80211-5.10.52-lts-5.10.y+g0e9bc956f2ca but it is not installable
 E: Unable to correct problems, you have held broken packages.

Thanks for any help!

Join yocto@lists.yoctoproject.org to automatically receive all group messages.