[Bug 2073407] Re: fakechroot: update-alternatives crashes

Ɓukasz Zemczak 2073407 at bugs.launchpad.net
Thu Jul 25 15:47:53 UTC 2024


** Also affects: fakechroot (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2073407

Title:
  fakechroot: update-alternatives crashes

Status in fakechroot package in Ubuntu:
  Confirmed
Status in fakechroot source package in Noble:
  New

Bug description:
  fakechroot chroot chroot-directory "apt-get install -y fakeroot" fails
  on arm64, as update-alternatives is crashing; it works fine without
  fakechroot.

  Test case:

  #!/bin/sh

  apt install curl fakeroot fakechroot -y
  curl https://cdimage.ubuntu.com/ubuntu-base/noble/daily/current/noble-base-arm64.tar.gz --output ubuntu-base-noble-arm64.tar.gz
  mkdir -p base-noble-arm64/
  tar --extract --file ubuntu-base-noble-arm64.tar.gz --directory base-noble-arm64
  cp "/etc/resolv.conf" base-noble-arm64/etc
  cp --no-dereference /usr/lib/aarch64-linux-gnu/fakechroot/* base-noble-arm64/usr/lib/aarch64-linux-gnu
  cp --no-dereference /usr/lib/aarch64-linux-gnu/libfakeroot/* base-noble-arm64/usr/lib/aarch64-linux-gnu
  fakechroot fakeroot chroot base-noble-arm64 bash -c "apt-get update"
  fakechroot fakeroot chroot base-noble-arm64 bash -c "apt-get install -y fakeroot"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fakechroot/+bug/2073407/+subscriptions




More information about the Ubuntu-sponsors mailing list