图像的 bitbake populate_sdk 失败并出现错误

bitbake populate_sdk for image fails with error

对我的图像进行位烘焙时,没有任何错误。但是,当我想 运行 我的图像的 `populate_sdk´ 命令时,发生了一个错误,我似乎无法弄清楚如何修复。

错误:

ERROR: myimage-1.0-r0 do_populate_sdk: Unable to install packages. Command '/home/yoctouser/build/tmp/work/poky-linux/myimage/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --force-yes --allow-unauthenticated 
(A_LOT_OF_LISTED_PACKAGES) 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:
 target-sdk-provides-dummy : Conflicts: coreutils
                             Conflicts: pkgconfig
E: Unable to correct problems, you have held broken packages.

我正在使用 Poky Zeus。

当我 google 这个错误时,我根本没有看到任何解决方案。

删除整个 /tmp/ 文件夹没有任何作用,删除 coreutilspkgconfig 只会产生更多错误。清理包和图像的状态,也没有任何效果。

知道如何解决这个问题吗?

如果您想了解更多信息,请告诉我。

PACKAGE_CLASSES 更改为默认值或 package_rpm 可以解决您的问题。 看起来 IPK 和 RPM 比 DEB 使用和测试更多。

https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-classes-package_ipk https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-classes-package_rpm