Bash not working in chroot environment during update
Dear openSUSE experts, I am to try to recover system via update Now package update crashes on /bin/sh not found even if it exist It seems that bash dose not work in chroot environment as of /mnt/bin/bash works chroot /mnt /bin/bash crashes on file not found ldconfig -vr /mnt as well as running ldconfig in busybox as of chroot /mnt /bin/busybox ldconfig -v does not help ldd dose not run in busybox as vell I was mentioned to copy some *so* library files for install usb into system to be updated but I am not sure about minimal set of libraries to be copied as I am to influence updated system at miniml possible level Is there anybody do help me with this problem I look forward hearing from you Yours faithfully Peter Fodrek,j.r.
Dňa 16. 6. 2022 o 15:50 Fodrek Peter ml. napísal(a):
Dear openSUSE experts,
I am to try to recover system via update
Now package update crashes on /bin/sh not found even if it exist
It seems that bash dose not work in chroot environment as of
/mnt/bin/bash
works
chroot /mnt /bin/bash crashes on file not found
ldconfig -vr /mnt
as well as running ldconfig in busybox as of
chroot /mnt /bin/busybox
not chroot /mnt /bin/busybox but chroot /mnt /bin/busybox ash was used by me surely
ldconfig -v
does not help
ldd dose not run in busybox as vell
I was mentioned to copy some *so* library files for install usb into system to be updated but I am not sure about minimal set of libraries to be copied as I am to influence updated system at miniml possible level
Is there anybody do help me with this problem
I look forward hearing from you
Yours faithfully
Peter Fodrek,j.r.
On 16.06.2022 16:50, Fodrek Peter ml. wrote:
Dear openSUSE experts,
I am to try to recover system via update
Now package update crashes on /bin/sh not found even if it exist
It seems that bash dose not work in chroot environment as of
/mnt/bin/bash
works
chroot /mnt /bin/bash crashes on file not found
Paste the full command and full output.
ldconfig -vr /mnt
as well as running ldconfig in busybox as of
chroot /mnt /bin/busybox ldconfig -v
does not help
ldd dose not run in busybox as vell
I was mentioned to copy some *so* library files for install usb into system to be updated but I am not sure about minimal set of libraries to be copied as I am to influence updated system at miniml possible level
Is there anybody do help me with this problem
Boot from installation medium and chose update of installed system.
I look forward hearing from you
Yours faithfully
Peter Fodrek,j.r.
participants (2)
-
Andrei Borzenkov
-
Fodrek Peter ml.