Possible intermittent, happened three times on master and once on my master-next branch. ERROR: core-image-full-cmdline-1.0-r0 do_rootfs: Unable to install packages. Command '/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-2454911/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove locale-base-c locale-base-en-us locale-base-en-gb' returned 100: Reading package lists... Building dependency tree... The following additional packages will be installed: glibc-binary-localedata-c glibc-binary-localedata-en-gb glibc-binary-localedata-en-us The following NEW packages will be installed: glibc-binary-localedata-c glibc-binary-localedata-en-gb glibc-binary-localedata-en-us locale-base-c locale-base-en-gb locale-base-en-us 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/493 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 file:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-2454911/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/oe-rootfs-repo/cortexa57 ./ glibc-binary-localedata-c 2.42+git-r0 [28.3 kB] Get:2 file:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-2454911/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/oe-rootfs-repo/cortexa57 ./ glibc-binary-localedata-en-gb 2.42+git-r0 [229 kB] Get:3 file:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-2454911/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/oe-rootfs-repo/cortexa57 ./ glibc-binary-localedata-en-us 2.42+git-r0 [233 kB] Get:4 file:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-2454911/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/oe-rootfs-repo/cortexa57 ./ locale-base-c 2.42+git-r0 [872 B] Get:5 file:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-2454911/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/oe-rootfs-repo/cortexa57 ./ locale-base-en-gb 2.42+git-r0 [880 B] Get:6 file:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-2454911/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/oe-rootfs-repo/cortexa57 ./ locale-base-en-us 2.42+git-r0 [880 B] dpkg: error: cannot canonicalize pathname /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-2454911/tmp/work/qemuarm64-poky-linux/core-image-full-cmdline/1.0/rootfs/srv/pokybuild/yocto-worker/qemuarm64-ltp/build/build/tmp/work/aarch64-linux/dpkg-native/1.22.21/recipe-sysroot-native/var/lib/dpkg: Invalid argument W: No sandbox user '_apt' on the system, can not drop privileges E: Sub-process dpkg returned an error code (2)
Sorry, it did not happen on my master-next branch but only on master.
oe-selftest-armhost ubuntu2204-vk-arm2 master-next&master completed at 2026-01-16 22:08:05+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3176/steps/15/logs/stdio oe-selftest-debian debian12-vk-2 master-next&master completed at 2026-01-16 20:29:46+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3037/steps/15/logs/stdio oe-selftest-fedora rocky9-vk-2 master-next&master completed at 2026-01-16 20:31:06+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/2932/steps/15/logs/stdio reproducible debian13-vk-1 master-next&master completed at 2026-01-16 20:30:57+00:00 https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260116-zisvk7re https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260116-zisvk7re/bitbake-reproducibleA.log https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260116-zisvk7re/bitbake-reproducibleB-extended.log https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/3214/steps/13/logs/stdio pkgman-non-rpm debian11-vk-1 master-next&master completed at 2026-01-16 19:48:54+00:00 https://autobuilder.yoctoproject.org/valkyrie/#/builders/67/builds/3082/steps/15/logs/stdio
dpkg-admin dir change fixes this, caused by a problem with pseudo https://git.openembedded.org/openembedded-core/commit/?id=22c3ebacd3c21d1caf9fddb0f7f4ff06c7728d3a