** Description changed:

  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"

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

Title:
  fakechroot: update-alternatives crashes

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to