On Sun, Aug 04, 2024 at 01:56:33PM -0700, Otto Kekäläinen wrote: > dpkg (subprocess): unable to execute installed bash package > post-installation script (/var/lib/dpkg/info/bash.postinst): No such > file or directory [..] > The file does exist: > # ls -la /var/lib/dpkg/info/bash.postinst > -rwxr-xr-x 1 root root 486 Jun 5 15:19 /var/lib/dpkg/info/bash.postinst > > I tied adding the executable bit and fixing the extra space in the > shebang line but neither had any effect: > > # chmod +x /var/lib/dpkg/info/bash.postinst > # sed 's|#! /bin/bash|#!/bin/bash|' -i /var/lib/dpkg/info/bash.postinst > # apt-get install -qq --fix-missing > Setting up bash (5.2.21-2.1) ... > dpkg (subprocess): unable to execute installed bash package > post-installation script (/var/lib/dpkg/info/bash.postinst): No such > file or directory [..]
> Any suggestions what might be going on? This sounds like your /bin/bash uses a dynamic linker that does not exist. Please report which ld.so this /bin/bash uses, and which arch you are on, and how the symlinks in / look, and what the contents of /lib64 and /usr/lib64 are. Please also report the versions of base-files, usrmerge, usr-is-merged, and libc*. Chris