Default local.conf file except: PACKAGE_CLASSES ?= "package_deb" MACHINE ?= "qemuarm" bitbake core-image-minimal fails with the following errors: W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory) | W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list - RealFileExists (2: No such file or directory) | W: You may want to run apt-get update to correct these problems | Reading package lists... | W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory) | W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list - RealFileExists (2: No such file or directory) | Reading package lists... | Building dependency tree... | W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory) | W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list - RealFileExists (2: No such file or directory) | W: You may want to run apt-get update to correct these problems | E: Unable to locate package run-postinsts | E: Unable to locate package packagegroup-core-boot | WARNING: /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/run.do_rootfs.27285:1 exit 1 from | exit 1 | ERROR: Function failed: do_rootfs (log file is located at /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.27285) ERROR: Task 7 (/home/oguiter/Devel/Yocto/Test/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1' Same problem with MACHINE ?= "qemux86"
Sent a fix on the ML.
Patch merged: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cbc12aac86b882b4cdbb9d291d3c525f1d6e76d3
Verified on master branch. Commit ID: 56f39bcf2237c11508d82238b6292e4bfbfed764