[Bug 2133900] Re: sbuild: autopkgtest fails with 'Can't exec "/usr/sbin/chroot": No such file or directory'

Nick Rosbrook 2133900 at bugs.launchpad.net
Thu Dec 4 21:27:14 UTC 2025


I am not sure if this is worth addressing in rust-coreutils, but adding
as affected package nonetheless.

** Changed in: sbuild (Ubuntu)
       Status: New => In Progress

** Changed in: sbuild (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

** Also affects: rust-coreutils (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: rust-coreutils (Ubuntu)
   Importance: Undecided => Low

** Changed in: rust-coreutils (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2133900

Title:
  sbuild: autopkgtest fails with 'Can't exec "/usr/sbin/chroot": No such
  file or directory'

Status in rust-coreutils package in Ubuntu:
  Confirmed
Status in sbuild package in Ubuntu:
  In Progress

Bug description:
  sbuild autopkgtest currently fails[1] with:

  116s I: Setting up the chroot...
  116s Can't exec "/usr/sbin/chroot": No such file or directory at /usr/share/perl5/Sbuild/Chroot.pm line 812.
  116s Failed to exec: /usr/sbin/chroot: No such file or directory at /usr/share/perl5/Sbuild/Chroot.pm line 813.
  116s Can't exec "/usr/sbin/chroot": No such file or directory at /usr/share/perl5/Sbuild/Chroot.pm line 812.
  116s Failed to exec: /usr/sbin/chroot: No such file or directory at /usr/share/perl5/Sbuild/Chroot.pm line 813.
  116s I: Successfully set up resolute chroot.
  116s I: Run "sbuild-adduser" to add new sbuild users.
  116s E: Failed to create group sbuild
  116s Failed to set up chroot
  116s E: Error creating chroot session: skipping apt update

  This is because coreutils-from-uutils ships /usr/bin/chroot, not
  /usr/sbin/chroot.

  [1] https://autopkgtest.ubuntu.com/results/autopkgtest-
  resolute/resolute/amd64/s/sbuild/20251203_071606_7bda1@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2133900/+subscriptions




More information about the foundations-bugs mailing list