<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16148</bug_id>
          
          <creation_ts>2026-01-21 14:40:28 +0000</creation_ts>
          <short_desc>AB-INT: dpkg: error: cannot canonicalize pathname</short_desc>
          <delta_ts>2026-01-22 15:48:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antonin Godard">antonin.godard</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103999</commentid>
    <comment_count>0</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-01-21 14:40:28 +0000</bug_when>
    <thetext>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 &apos;/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&apos; 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 &apos;_apt&apos; on the system, can not drop privileges
E: Sub-process dpkg returned an error code (2)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104000</commentid>
    <comment_count>1</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-01-21 14:42:18 +0000</bug_when>
    <thetext>Sorry, it did not happen on my master-next branch but only on master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104006</commentid>
    <comment_count>2</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2026-01-21 15:34:31 +0000</bug_when>
    <thetext>oe-selftest-armhost ubuntu2204-vk-arm2 master-next&amp;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&amp;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&amp;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&amp;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&amp;master completed at 2026-01-16 19:48:54+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/67/builds/3082/steps/15/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104024</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-01-22 15:48:03 +0000</bug_when>
    <thetext>dpkg-admin dir change fixes this, caused by a problem with pseudo 

https://git.openembedded.org/openembedded-core/commit/?id=22c3ebacd3c21d1caf9fddb0f7f4ff06c7728d3a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>