I twice attempted to build an image for the cubox-i. My build machine was a dual core AMD low end PC (Ubuntu 14.10) and the target machine was an imx6 cubox-i. I wanted to use apt-get and dpkg command so used PACKAGE_CLASSES=package_deb which appeared to work for a long time but then concluded with the following: ERROR: Unable to install packages. Command '/home/ted/fsl-community-bsp/build/tmp/sysroots/i686-linux/usr/bin/apt-get install --force-yes --allow-unauthenticated psplash packagegroup-core-x11-base apt dpkg packagegroup-base-extended packagegroup-core-boot' 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-core-x11-base : Depends: packagegroup-core-x11-utils but it is not going to be installed W: Unable to read /home/ted/fsl-community-bsp/build/tmp/work/cubox_i-poky-linux-gnueabi/core-image-x11/1.0-r0/apt/preferences.d/ - DirectoryExists (2: No such file or directory) E: Unable to correct problems, you have held broken packages. ERROR: Function failed: do_rootfs ERROR: Logfile of failure stored in: /home/ted/fsl-community-bsp/build/tmp/work/cubox_i-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_rootfs.25125 ERROR: Task 7 (/home/tom/fsl-community-bsp/sources/poky/meta/recipes-graphics/images/core-image-x11.bb, do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 4237 tasks of which 13 didn't need to be rerun and 1 failed. No currently running tasks (4236 of 4238) Summary: 1 task failed: /home/ted/fsl-community-bsp/sources/poky/meta/recipes-graphics/images/core-image-x11.bb, do_rootfs Summary: There were 493 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Hi Ted, I built cubox-i with core-image-x11 using poky master (e2cffc00e1ea1b2d8bd5143f4d8ff56501b7e3f7) and meta-fsl-arm{,-extra} master and dind't fail. Here is my conf: MACHINE ??= "cubox-i" LICENSE_FLAGS_WHITELIST = "commercial" ACCEPT_FSL_EULA = "1" PACKAGE_CLASSES ?= "package_deb" EXTRA_IMAGE_FEATURES = "debug-tweaks package-management" Do you are using master branch? Best regards, alimon
We believe this issue was fixed in the master branch and believe you were likely not using this. We're therefore resolving as WORKSFORME, please reopen if there is more info available.